AWS SDK for C++  1.9.160
AWS SDK for C++
SubmitTaskStateChangeResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECS
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetAcknowledgment() const{ return m_acknowledgment; }
39 
43  inline void SetAcknowledgment(const Aws::String& value) { m_acknowledgment = value; }
44 
48  inline void SetAcknowledgment(Aws::String&& value) { m_acknowledgment = std::move(value); }
49 
53  inline void SetAcknowledgment(const char* value) { m_acknowledgment.assign(value); }
54 
58  inline SubmitTaskStateChangeResult& WithAcknowledgment(const Aws::String& value) { SetAcknowledgment(value); return *this;}
59 
63  inline SubmitTaskStateChangeResult& WithAcknowledgment(Aws::String&& value) { SetAcknowledgment(std::move(value)); return *this;}
64 
68  inline SubmitTaskStateChangeResult& WithAcknowledgment(const char* value) { SetAcknowledgment(value); return *this;}
69 
70  private:
71 
72  Aws::String m_acknowledgment;
73  };
74 
75 } // namespace Model
76 } // namespace ECS
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECS::Model::SubmitTaskStateChangeResult::WithAcknowledgment
SubmitTaskStateChangeResult & WithAcknowledgment(const Aws::String &value)
Definition: SubmitTaskStateChangeResult.h:58
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::SubmitTaskStateChangeResult
Definition: SubmitTaskStateChangeResult.h:28
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::SubmitTaskStateChangeResult::SetAcknowledgment
void SetAcknowledgment(const Aws::String &value)
Definition: SubmitTaskStateChangeResult.h:43
Aws::ECS::Model::SubmitTaskStateChangeResult::WithAcknowledgment
SubmitTaskStateChangeResult & WithAcknowledgment(Aws::String &&value)
Definition: SubmitTaskStateChangeResult.h:63
Aws::ECS::Model::SubmitTaskStateChangeResult::SetAcknowledgment
void SetAcknowledgment(const char *value)
Definition: SubmitTaskStateChangeResult.h:53
Aws::ECS::Model::SubmitTaskStateChangeResult::WithAcknowledgment
SubmitTaskStateChangeResult & WithAcknowledgment(const char *value)
Definition: SubmitTaskStateChangeResult.h:68
AWSString.h
Aws::ECS::Model::SubmitTaskStateChangeResult::SubmitTaskStateChangeResult
SubmitTaskStateChangeResult()
Aws::ECS::Model::SubmitTaskStateChangeResult::SubmitTaskStateChangeResult
SubmitTaskStateChangeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::SubmitTaskStateChangeResult::SetAcknowledgment
void SetAcknowledgment(Aws::String &&value)
Definition: SubmitTaskStateChangeResult.h:48
ECS_EXPORTS.h
Aws::ECS::Model::SubmitTaskStateChangeResult::GetAcknowledgment
const Aws::String & GetAcknowledgment() const
Definition: SubmitTaskStateChangeResult.h:38
Aws::ECS::Model::SubmitTaskStateChangeResult::operator=
SubmitTaskStateChangeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)