AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
45 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
46 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
47 inline RetryBuildBatchRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline RetryBuildBatchRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline RetryBuildBatchRequest& WithId(const char* value) { SetId(value); return *this;}
51
53
60 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
61 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
62 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
63 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
64 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
65 inline RetryBuildBatchRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
66 inline RetryBuildBatchRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
67 inline RetryBuildBatchRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
69
71
74 inline const RetryBuildBatchType& GetRetryType() const{ return m_retryType; }
75 inline bool RetryTypeHasBeenSet() const { return m_retryTypeHasBeenSet; }
76 inline void SetRetryType(const RetryBuildBatchType& value) { m_retryTypeHasBeenSet = true; m_retryType = value; }
77 inline void SetRetryType(RetryBuildBatchType&& value) { m_retryTypeHasBeenSet = true; m_retryType = std::move(value); }
78 inline RetryBuildBatchRequest& WithRetryType(const RetryBuildBatchType& value) { SetRetryType(value); return *this;}
79 inline RetryBuildBatchRequest& WithRetryType(RetryBuildBatchType&& value) { SetRetryType(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::String m_idempotencyToken;
87 bool m_idempotencyTokenHasBeenSet = false;
88
89 RetryBuildBatchType m_retryType;
90 bool m_retryTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CodeBuild
95} // namespace Aws
RetryBuildBatchRequest & WithIdempotencyToken(const char *value)
RetryBuildBatchRequest & WithId(Aws::String &&value)
const RetryBuildBatchType & GetRetryType() const
RetryBuildBatchRequest & WithIdempotencyToken(const Aws::String &value)
void SetRetryType(const RetryBuildBatchType &value)
RetryBuildBatchRequest & WithRetryType(RetryBuildBatchType &&value)
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(const RetryBuildBatchType &value)
RetryBuildBatchRequest & WithId(const Aws::String &value)
RetryBuildBatchRequest & WithId(const char *value)
RetryBuildBatchRequest & WithIdempotencyToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String