AWS SDK for C++  1.9.104
AWS SDK for C++
CancelDeploymentResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 GreengrassV2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetMessage() const{ return m_message; }
39 
43  inline void SetMessage(const Aws::String& value) { m_message = value; }
44 
48  inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
49 
53  inline void SetMessage(const char* value) { m_message.assign(value); }
54 
58  inline CancelDeploymentResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
59 
63  inline CancelDeploymentResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 
68  inline CancelDeploymentResult& WithMessage(const char* value) { SetMessage(value); return *this;}
69 
70  private:
71 
72  Aws::String m_message;
73  };
74 
75 } // namespace Model
76 } // namespace GreengrassV2
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GreengrassV2::Model::CancelDeploymentResult::WithMessage
CancelDeploymentResult & WithMessage(const Aws::String &value)
Definition: CancelDeploymentResult.h:58
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::CancelDeploymentResult::SetMessage
void SetMessage(const Aws::String &value)
Definition: CancelDeploymentResult.h:43
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::CancelDeploymentResult::operator=
CancelDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::CancelDeploymentResult::WithMessage
CancelDeploymentResult & WithMessage(Aws::String &&value)
Definition: CancelDeploymentResult.h:63
Aws::GreengrassV2::Model::CancelDeploymentResult::SetMessage
void SetMessage(Aws::String &&value)
Definition: CancelDeploymentResult.h:48
AWSString.h
Aws::GreengrassV2::Model::CancelDeploymentResult::WithMessage
CancelDeploymentResult & WithMessage(const char *value)
Definition: CancelDeploymentResult.h:68
Aws::GreengrassV2::Model::CancelDeploymentResult::CancelDeploymentResult
CancelDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::CancelDeploymentResult::CancelDeploymentResult
CancelDeploymentResult()
Aws::GreengrassV2::Model::CancelDeploymentResult::GetMessage
const Aws::String & GetMessage() const
Definition: CancelDeploymentResult.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::CancelDeploymentResult
Definition: CancelDeploymentResult.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::CancelDeploymentResult::SetMessage
void SetMessage(const char *value)
Definition: CancelDeploymentResult.h:53