AWS SDK for C++  1.9.109
AWS SDK for C++
CreateResourceResult.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& GetResourceId() const{ return m_resourceId; }
39 
43  inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
44 
48  inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
49 
53  inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
54 
58  inline CreateResourceResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
59 
63  inline CreateResourceResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
64 
68  inline CreateResourceResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_resourceId;
73  };
74 
75 } // namespace Model
76 } // namespace WorkMail
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::CreateResourceResult
Definition: CreateResourceResult.h:28
Aws::WorkMail::Model::CreateResourceResult::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: CreateResourceResult.h:43
Aws::WorkMail::Model::CreateResourceResult::GetResourceId
const Aws::String & GetResourceId() const
Definition: CreateResourceResult.h:38
Aws::WorkMail::Model::CreateResourceResult::operator=
CreateResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
WorkMail_EXPORTS.h
Aws::WorkMail::Model::CreateResourceResult::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: CreateResourceResult.h:48
Aws::WorkMail::Model::CreateResourceResult::SetResourceId
void SetResourceId(const char *value)
Definition: CreateResourceResult.h:53
Aws::WorkMail::Model::CreateResourceResult::CreateResourceResult
CreateResourceResult()
Aws::WorkMail::Model::CreateResourceResult::WithResourceId
CreateResourceResult & WithResourceId(const char *value)
Definition: CreateResourceResult.h:68
AWSString.h
Aws::WorkMail::Model::CreateResourceResult::CreateResourceResult
CreateResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::CreateResourceResult::WithResourceId
CreateResourceResult & WithResourceId(const Aws::String &value)
Definition: CreateResourceResult.h:58
Aws::WorkMail::Model::CreateResourceResult::WithResourceId
CreateResourceResult & WithResourceId(Aws::String &&value)
Definition: CreateResourceResult.h:63