AWS SDK for C++  1.8.154
AWS SDK for C++
StartPipelineExecutionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace CodePipeline
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "StartPipelineExecution"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline StartPipelineExecutionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline StartPipelineExecutionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline StartPipelineExecutionRequest& WithName(const char* value) { SetName(value); return *this;}
81 
82 
87  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
88 
93  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
94 
99  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
100 
105  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
106 
111  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
112 
117  inline StartPipelineExecutionRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
118 
123  inline StartPipelineExecutionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
124 
129  inline StartPipelineExecutionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
130 
131  private:
132 
133  Aws::String m_name;
134  bool m_nameHasBeenSet;
135 
136  Aws::String m_clientRequestToken;
137  bool m_clientRequestTokenHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace CodePipeline
142 } // namespace Aws
Aws::CodePipeline::Model::StartPipelineExecutionRequest::WithName
StartPipelineExecutionRequest & WithName(const Aws::String &value)
Definition: StartPipelineExecutionRequest.h:70
Aws::CodePipeline::Model::StartPipelineExecutionRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartPipelineExecutionRequest.h:87
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::StartPipelineExecutionRequest
Definition: StartPipelineExecutionRequest.h:27
Aws::CodePipeline::Model::StartPipelineExecutionRequest::SetName
void SetName(const Aws::String &value)
Definition: StartPipelineExecutionRequest.h:55
Aws::CodePipeline::Model::StartPipelineExecutionRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: StartPipelineExecutionRequest.h:50
CodePipelineRequest.h
Aws::CodePipeline::Model::StartPipelineExecutionRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartPipelineExecutionRequest.h:105
Aws::CodePipeline::Model::StartPipelineExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartPipelineExecutionRequest.h:35
Aws::CodePipeline::Model::StartPipelineExecutionRequest::SetName
void SetName(Aws::String &&value)
Definition: StartPipelineExecutionRequest.h:60
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::StartPipelineExecutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodePipeline::Model::StartPipelineExecutionRequest::SetName
void SetName(const char *value)
Definition: StartPipelineExecutionRequest.h:65
AWSString.h
Aws::CodePipeline::Model::StartPipelineExecutionRequest::WithClientRequestToken
StartPipelineExecutionRequest & WithClientRequestToken(const char *value)
Definition: StartPipelineExecutionRequest.h:129
Aws::CodePipeline::Model::StartPipelineExecutionRequest::WithClientRequestToken
StartPipelineExecutionRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartPipelineExecutionRequest.h:117
Aws::CodePipeline::Model::StartPipelineExecutionRequest::StartPipelineExecutionRequest
StartPipelineExecutionRequest()
Aws::CodePipeline::Model::StartPipelineExecutionRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartPipelineExecutionRequest.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::StartPipelineExecutionRequest::WithClientRequestToken
StartPipelineExecutionRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartPipelineExecutionRequest.h:123
Aws::CodePipeline::Model::StartPipelineExecutionRequest::WithName
StartPipelineExecutionRequest & WithName(Aws::String &&value)
Definition: StartPipelineExecutionRequest.h:75
Aws::CodePipeline::CodePipelineRequest
Definition: CodePipelineRequest.h:17
Aws::CodePipeline::Model::StartPipelineExecutionRequest::GetName
const Aws::String & GetName() const
Definition: StartPipelineExecutionRequest.h:45
UUID.h
Aws::CodePipeline::Model::StartPipelineExecutionRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartPipelineExecutionRequest.h:93
Aws::CodePipeline::Model::StartPipelineExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodePipeline::Model::StartPipelineExecutionRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartPipelineExecutionRequest.h:99
Aws::CodePipeline::Model::StartPipelineExecutionRequest::WithName
StartPipelineExecutionRequest & WithName(const char *value)
Definition: StartPipelineExecutionRequest.h:80