AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RetryBuildBatchRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/RetryBuildBatchType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeBuild
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODEBUILD_API RetryBuildBatchRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RetryBuildBatch"; }
32
33 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template<typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
46 template<typename IdT = Aws::String>
47 RetryBuildBatchRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
49
51
58 inline const Aws::String& GetIdempotencyToken() const { return m_idempotencyToken; }
59 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
60 template<typename IdempotencyTokenT = Aws::String>
61 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
62 template<typename IdempotencyTokenT = Aws::String>
63 RetryBuildBatchRequest& WithIdempotencyToken(IdempotencyTokenT&& value) { SetIdempotencyToken(std::forward<IdempotencyTokenT>(value)); return *this;}
65
67
70 inline RetryBuildBatchType GetRetryType() const { return m_retryType; }
71 inline bool RetryTypeHasBeenSet() const { return m_retryTypeHasBeenSet; }
72 inline void SetRetryType(RetryBuildBatchType value) { m_retryTypeHasBeenSet = true; m_retryType = value; }
75 private:
76
77 Aws::String m_id;
78 bool m_idHasBeenSet = false;
79
80 Aws::String m_idempotencyToken;
81 bool m_idempotencyTokenHasBeenSet = false;
82
84 bool m_retryTypeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CodeBuild
89} // namespace Aws
RetryBuildBatchRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
AWS_CODEBUILD_API RetryBuildBatchRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_CODEBUILD_API Aws::String SerializePayload() const override
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RetryBuildBatchRequest & WithRetryType(RetryBuildBatchType value)
void SetIdempotencyToken(IdempotencyTokenT &&value)
RetryBuildBatchRequest & WithId(IdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String