AWS SDK for C++  1.9.103
AWS SDK for C++
CreateClusterResult.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 Snowball
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
39 
43  inline void SetClusterId(const Aws::String& value) { m_clusterId = value; }
44 
48  inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); }
49 
53  inline void SetClusterId(const char* value) { m_clusterId.assign(value); }
54 
58  inline CreateClusterResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
59 
63  inline CreateClusterResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
64 
68  inline CreateClusterResult& WithClusterId(const char* value) { SetClusterId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_clusterId;
73  };
74 
75 } // namespace Model
76 } // namespace Snowball
77 } // namespace Aws
Aws::Snowball::Model::CreateClusterResult::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: CreateClusterResult.h:43
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::CreateClusterResult::WithClusterId
CreateClusterResult & WithClusterId(const char *value)
Definition: CreateClusterResult.h:68
Aws::Snowball::Model::CreateClusterResult::operator=
CreateClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::CreateClusterResult::GetClusterId
const Aws::String & GetClusterId() const
Definition: CreateClusterResult.h:38
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::CreateClusterResult::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: CreateClusterResult.h:48
AWSString.h
Aws::Snowball::Model::CreateClusterResult::WithClusterId
CreateClusterResult & WithClusterId(const Aws::String &value)
Definition: CreateClusterResult.h:58
Aws::Snowball::Model::CreateClusterResult::CreateClusterResult
CreateClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::CreateClusterResult::SetClusterId
void SetClusterId(const char *value)
Definition: CreateClusterResult.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::CreateClusterResult::WithClusterId
CreateClusterResult & WithClusterId(Aws::String &&value)
Definition: CreateClusterResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Snowball_EXPORTS.h
Aws::Snowball::Model::CreateClusterResult::CreateClusterResult
CreateClusterResult()
Aws::Snowball::Model::CreateClusterResult
Definition: CreateClusterResult.h:28