AWS SDK for C++  1.9.124
AWS SDK for C++
UpdateEnvironmentResult.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 MWAA
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
45  inline void SetArn(const Aws::String& value) { m_arn = value; }
46 
51  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 
57  inline void SetArn(const char* value) { m_arn.assign(value); }
58 
63  inline UpdateEnvironmentResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
64 
69  inline UpdateEnvironmentResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 
75  inline UpdateEnvironmentResult& WithArn(const char* value) { SetArn(value); return *this;}
76 
77  private:
78 
79  Aws::String m_arn;
80  };
81 
82 } // namespace Model
83 } // namespace MWAA
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MWAA::Model::UpdateEnvironmentResult::SetArn
void SetArn(const char *value)
Definition: UpdateEnvironmentResult.h:57
Aws::MWAA::Model::UpdateEnvironmentResult
Definition: UpdateEnvironmentResult.h:28
Aws::MWAA::Model::UpdateEnvironmentResult::GetArn
const Aws::String & GetArn() const
Definition: UpdateEnvironmentResult.h:39
Aws::MWAA::Model::UpdateEnvironmentResult::WithArn
UpdateEnvironmentResult & WithArn(const char *value)
Definition: UpdateEnvironmentResult.h:75
Aws::MWAA::Model::UpdateEnvironmentResult::operator=
UpdateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::MWAA::Model::UpdateEnvironmentResult::SetArn
void SetArn(Aws::String &&value)
Definition: UpdateEnvironmentResult.h:51
Aws::MWAA::Model::UpdateEnvironmentResult::UpdateEnvironmentResult
UpdateEnvironmentResult()
Aws::MWAA::Model::UpdateEnvironmentResult::WithArn
UpdateEnvironmentResult & WithArn(const Aws::String &value)
Definition: UpdateEnvironmentResult.h:63
AWS_MWAA_API
#define AWS_MWAA_API
Definition: MWAA_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::MWAA::Model::UpdateEnvironmentResult::WithArn
UpdateEnvironmentResult & WithArn(Aws::String &&value)
Definition: UpdateEnvironmentResult.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MWAA::Model::UpdateEnvironmentResult::UpdateEnvironmentResult
UpdateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MWAA::Model::UpdateEnvironmentResult::SetArn
void SetArn(const Aws::String &value)
Definition: UpdateEnvironmentResult.h:45
MWAA_EXPORTS.h