AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateApplicationResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace AppConfig {
22namespace Model {
24 public:
25 AWS_APPCONFIG_API CreateApplicationResult() = default;
28
30
33 inline const Aws::String& GetId() const { return m_id; }
34 template <typename IdT = Aws::String>
35 void SetId(IdT&& value) {
36 m_idHasBeenSet = true;
37 m_id = std::forward<IdT>(value);
38 }
39 template <typename IdT = Aws::String>
41 SetId(std::forward<IdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 template <typename NameT = Aws::String>
52 void SetName(NameT&& value) {
53 m_nameHasBeenSet = true;
54 m_name = std::forward<NameT>(value);
55 }
56 template <typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template <typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) {
70 m_descriptionHasBeenSet = true;
71 m_description = std::forward<DescriptionT>(value);
72 }
73 template <typename DescriptionT = Aws::String>
75 SetDescription(std::forward<DescriptionT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_id;
96
97 Aws::String m_name;
98
99 Aws::String m_description;
100
101 Aws::String m_requestId;
102 bool m_idHasBeenSet = false;
103 bool m_nameHasBeenSet = false;
104 bool m_descriptionHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace AppConfig
110} // namespace Aws
AWS_APPCONFIG_API CreateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithId(IdT &&value)
AWS_APPCONFIG_API CreateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithDescription(DescriptionT &&value)
CreateApplicationResult & WithRequestId(RequestIdT &&value)
CreateApplicationResult & WithName(NameT &&value)
AWS_APPCONFIG_API CreateApplicationResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue