AWS SDK for C++  1.9.109
AWS SDK for C++
DeleteOrganizationResult.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 WorkMail
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
39 
43  inline void SetOrganizationId(const Aws::String& value) { m_organizationId = value; }
44 
48  inline void SetOrganizationId(Aws::String&& value) { m_organizationId = std::move(value); }
49 
53  inline void SetOrganizationId(const char* value) { m_organizationId.assign(value); }
54 
58  inline DeleteOrganizationResult& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
59 
63  inline DeleteOrganizationResult& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
64 
68  inline DeleteOrganizationResult& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
69 
70 
74  inline const Aws::String& GetState() const{ return m_state; }
75 
79  inline void SetState(const Aws::String& value) { m_state = value; }
80 
84  inline void SetState(Aws::String&& value) { m_state = std::move(value); }
85 
89  inline void SetState(const char* value) { m_state.assign(value); }
90 
94  inline DeleteOrganizationResult& WithState(const Aws::String& value) { SetState(value); return *this;}
95 
99  inline DeleteOrganizationResult& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
100 
104  inline DeleteOrganizationResult& WithState(const char* value) { SetState(value); return *this;}
105 
106  private:
107 
108  Aws::String m_organizationId;
109 
110  Aws::String m_state;
111  };
112 
113 } // namespace Model
114 } // namespace WorkMail
115 } // namespace Aws
Aws::WorkMail::Model::DeleteOrganizationResult::SetState
void SetState(const Aws::String &value)
Definition: DeleteOrganizationResult.h:79
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::DeleteOrganizationResult::SetState
void SetState(Aws::String &&value)
Definition: DeleteOrganizationResult.h:84
Aws::WorkMail::Model::DeleteOrganizationResult::WithState
DeleteOrganizationResult & WithState(const char *value)
Definition: DeleteOrganizationResult.h:104
Aws::WorkMail::Model::DeleteOrganizationResult::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: DeleteOrganizationResult.h:43
WorkMail_EXPORTS.h
Aws::WorkMail::Model::DeleteOrganizationResult::DeleteOrganizationResult
DeleteOrganizationResult()
Aws::WorkMail::Model::DeleteOrganizationResult::SetState
void SetState(const char *value)
Definition: DeleteOrganizationResult.h:89
Aws::WorkMail::Model::DeleteOrganizationResult
Definition: DeleteOrganizationResult.h:28
Aws::WorkMail::Model::DeleteOrganizationResult::WithOrganizationId
DeleteOrganizationResult & WithOrganizationId(Aws::String &&value)
Definition: DeleteOrganizationResult.h:63
Aws::WorkMail::Model::DeleteOrganizationResult::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: DeleteOrganizationResult.h:38
Aws::WorkMail::Model::DeleteOrganizationResult::WithState
DeleteOrganizationResult & WithState(const Aws::String &value)
Definition: DeleteOrganizationResult.h:94
Aws::WorkMail::Model::DeleteOrganizationResult::WithOrganizationId
DeleteOrganizationResult & WithOrganizationId(const Aws::String &value)
Definition: DeleteOrganizationResult.h:58
AWSString.h
Aws::WorkMail::Model::DeleteOrganizationResult::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: DeleteOrganizationResult.h:53
Aws::WorkMail::Model::DeleteOrganizationResult::WithState
DeleteOrganizationResult & WithState(Aws::String &&value)
Definition: DeleteOrganizationResult.h:99
Aws::WorkMail::Model::DeleteOrganizationResult::operator=
DeleteOrganizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::DeleteOrganizationResult::WithOrganizationId
DeleteOrganizationResult & WithOrganizationId(const char *value)
Definition: DeleteOrganizationResult.h:68
Aws::WorkMail::Model::DeleteOrganizationResult::DeleteOrganizationResult
DeleteOrganizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::DeleteOrganizationResult::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: DeleteOrganizationResult.h:48
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::DeleteOrganizationResult::GetState
const Aws::String & GetState() const
Definition: DeleteOrganizationResult.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97