AWS SDK for C++  1.9.104
AWS SDK for C++
GetHostnameSuggestionResult.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 OpsWorks
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetLayerId() const{ return m_layerId; }
45 
49  inline void SetLayerId(const Aws::String& value) { m_layerId = value; }
50 
54  inline void SetLayerId(Aws::String&& value) { m_layerId = std::move(value); }
55 
59  inline void SetLayerId(const char* value) { m_layerId.assign(value); }
60 
64  inline GetHostnameSuggestionResult& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;}
65 
69  inline GetHostnameSuggestionResult& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;}
70 
74  inline GetHostnameSuggestionResult& WithLayerId(const char* value) { SetLayerId(value); return *this;}
75 
76 
80  inline const Aws::String& GetHostname() const{ return m_hostname; }
81 
85  inline void SetHostname(const Aws::String& value) { m_hostname = value; }
86 
90  inline void SetHostname(Aws::String&& value) { m_hostname = std::move(value); }
91 
95  inline void SetHostname(const char* value) { m_hostname.assign(value); }
96 
100  inline GetHostnameSuggestionResult& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
101 
105  inline GetHostnameSuggestionResult& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
106 
110  inline GetHostnameSuggestionResult& WithHostname(const char* value) { SetHostname(value); return *this;}
111 
112  private:
113 
114  Aws::String m_layerId;
115 
116  Aws::String m_hostname;
117  };
118 
119 } // namespace Model
120 } // namespace OpsWorks
121 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::GetHostnameSuggestionResult::WithHostname
GetHostnameSuggestionResult & WithHostname(const char *value)
Definition: GetHostnameSuggestionResult.h:110
Aws::OpsWorks::Model::GetHostnameSuggestionResult::WithLayerId
GetHostnameSuggestionResult & WithLayerId(const char *value)
Definition: GetHostnameSuggestionResult.h:74
Aws::OpsWorks::Model::GetHostnameSuggestionResult::WithHostname
GetHostnameSuggestionResult & WithHostname(const Aws::String &value)
Definition: GetHostnameSuggestionResult.h:100
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::GetHostnameSuggestionResult::WithHostname
GetHostnameSuggestionResult & WithHostname(Aws::String &&value)
Definition: GetHostnameSuggestionResult.h:105
Aws::OpsWorks::Model::GetHostnameSuggestionResult::SetLayerId
void SetLayerId(Aws::String &&value)
Definition: GetHostnameSuggestionResult.h:54
Aws::OpsWorks::Model::GetHostnameSuggestionResult::SetHostname
void SetHostname(const Aws::String &value)
Definition: GetHostnameSuggestionResult.h:85
Aws::OpsWorks::Model::GetHostnameSuggestionResult::GetLayerId
const Aws::String & GetLayerId() const
Definition: GetHostnameSuggestionResult.h:44
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::GetHostnameSuggestionResult::SetLayerId
void SetLayerId(const Aws::String &value)
Definition: GetHostnameSuggestionResult.h:49
Aws::OpsWorks::Model::GetHostnameSuggestionResult::SetHostname
void SetHostname(const char *value)
Definition: GetHostnameSuggestionResult.h:95
Aws::OpsWorks::Model::GetHostnameSuggestionResult::WithLayerId
GetHostnameSuggestionResult & WithLayerId(const Aws::String &value)
Definition: GetHostnameSuggestionResult.h:64
AWSString.h
Aws::OpsWorks::Model::GetHostnameSuggestionResult::SetHostname
void SetHostname(Aws::String &&value)
Definition: GetHostnameSuggestionResult.h:90
Aws::OpsWorks::Model::GetHostnameSuggestionResult::GetHostname
const Aws::String & GetHostname() const
Definition: GetHostnameSuggestionResult.h:80
Aws::OpsWorks::Model::GetHostnameSuggestionResult::GetHostnameSuggestionResult
GetHostnameSuggestionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::GetHostnameSuggestionResult::WithLayerId
GetHostnameSuggestionResult & WithLayerId(Aws::String &&value)
Definition: GetHostnameSuggestionResult.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::GetHostnameSuggestionResult::GetHostnameSuggestionResult
GetHostnameSuggestionResult()
Aws::OpsWorks::Model::GetHostnameSuggestionResult::operator=
GetHostnameSuggestionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::GetHostnameSuggestionResult::SetLayerId
void SetLayerId(const char *value)
Definition: GetHostnameSuggestionResult.h:59
Aws::OpsWorks::Model::GetHostnameSuggestionResult
Definition: GetHostnameSuggestionResult.h:34