AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetHostnameSuggestionResult.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace OpsWorks
24{
25namespace Model
26{
34 {
35 public:
36 AWS_OPSWORKS_API GetHostnameSuggestionResult();
39
40
42
45 inline const Aws::String& GetLayerId() const{ return m_layerId; }
46 inline void SetLayerId(const Aws::String& value) { m_layerId = value; }
47 inline void SetLayerId(Aws::String&& value) { m_layerId = std::move(value); }
48 inline void SetLayerId(const char* value) { m_layerId.assign(value); }
49 inline GetHostnameSuggestionResult& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;}
50 inline GetHostnameSuggestionResult& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;}
51 inline GetHostnameSuggestionResult& WithLayerId(const char* value) { SetLayerId(value); return *this;}
53
55
58 inline const Aws::String& GetHostname() const{ return m_hostname; }
59 inline void SetHostname(const Aws::String& value) { m_hostname = value; }
60 inline void SetHostname(Aws::String&& value) { m_hostname = std::move(value); }
61 inline void SetHostname(const char* value) { m_hostname.assign(value); }
62 inline GetHostnameSuggestionResult& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
63 inline GetHostnameSuggestionResult& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
64 inline GetHostnameSuggestionResult& WithHostname(const char* value) { SetHostname(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetHostnameSuggestionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetHostnameSuggestionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetHostnameSuggestionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_layerId;
80
81 Aws::String m_hostname;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace OpsWorks
88} // namespace Aws
AWS_OPSWORKS_API GetHostnameSuggestionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHostnameSuggestionResult & WithLayerId(const char *value)
GetHostnameSuggestionResult & WithLayerId(const Aws::String &value)
GetHostnameSuggestionResult & WithHostname(const char *value)
GetHostnameSuggestionResult & WithLayerId(Aws::String &&value)
AWS_OPSWORKS_API GetHostnameSuggestionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHostnameSuggestionResult & WithHostname(Aws::String &&value)
GetHostnameSuggestionResult & WithRequestId(Aws::String &&value)
GetHostnameSuggestionResult & WithRequestId(const char *value)
GetHostnameSuggestionResult & WithRequestId(const Aws::String &value)
GetHostnameSuggestionResult & WithHostname(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue