AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetUsageProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/ProfileConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Glue {
25namespace Model {
27 public:
28 AWS_GLUE_API GetUsageProfileResult() = default;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 template <typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) {
56 m_descriptionHasBeenSet = true;
57 m_description = std::forward<DescriptionT>(value);
58 }
59 template <typename DescriptionT = Aws::String>
60 GetUsageProfileResult& WithDescription(DescriptionT&& value) {
61 SetDescription(std::forward<DescriptionT>(value));
62 return *this;
63 }
65
67
71 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
72 template <typename ConfigurationT = ProfileConfiguration>
73 void SetConfiguration(ConfigurationT&& value) {
74 m_configurationHasBeenSet = true;
75 m_configuration = std::forward<ConfigurationT>(value);
76 }
77 template <typename ConfigurationT = ProfileConfiguration>
78 GetUsageProfileResult& WithConfiguration(ConfigurationT&& value) {
79 SetConfiguration(std::forward<ConfigurationT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetCreatedOn() const { return m_createdOn; }
89 template <typename CreatedOnT = Aws::Utils::DateTime>
90 void SetCreatedOn(CreatedOnT&& value) {
91 m_createdOnHasBeenSet = true;
92 m_createdOn = std::forward<CreatedOnT>(value);
93 }
94 template <typename CreatedOnT = Aws::Utils::DateTime>
95 GetUsageProfileResult& WithCreatedOn(CreatedOnT&& value) {
96 SetCreatedOn(std::forward<CreatedOnT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
106 template <typename LastModifiedOnT = Aws::Utils::DateTime>
107 void SetLastModifiedOn(LastModifiedOnT&& value) {
108 m_lastModifiedOnHasBeenSet = true;
109 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
110 }
111 template <typename LastModifiedOnT = Aws::Utils::DateTime>
112 GetUsageProfileResult& WithLastModifiedOn(LastModifiedOnT&& value) {
113 SetLastModifiedOn(std::forward<LastModifiedOnT>(value));
114 return *this;
115 }
117
119
120 inline const Aws::String& GetRequestId() const { return m_requestId; }
121 template <typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) {
123 m_requestIdHasBeenSet = true;
124 m_requestId = std::forward<RequestIdT>(value);
125 }
126 template <typename RequestIdT = Aws::String>
128 SetRequestId(std::forward<RequestIdT>(value));
129 return *this;
130 }
132 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
133
134 private:
135 Aws::String m_name;
136
137 Aws::String m_description;
138
139 ProfileConfiguration m_configuration;
140
141 Aws::Utils::DateTime m_createdOn{};
142
143 Aws::Utils::DateTime m_lastModifiedOn{};
144
145 Aws::String m_requestId;
146 Aws::Http::HttpResponseCode m_HttpResponseCode;
147 bool m_nameHasBeenSet = false;
148 bool m_descriptionHasBeenSet = false;
149 bool m_configurationHasBeenSet = false;
150 bool m_createdOnHasBeenSet = false;
151 bool m_lastModifiedOnHasBeenSet = false;
152 bool m_requestIdHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace Glue
157} // namespace Aws
const Aws::Utils::DateTime & GetCreatedOn() const
AWS_GLUE_API GetUsageProfileResult()=default
GetUsageProfileResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetLastModifiedOn() const
GetUsageProfileResult & WithCreatedOn(CreatedOnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GLUE_API GetUsageProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedOn(LastModifiedOnT &&value)
GetUsageProfileResult & WithLastModifiedOn(LastModifiedOnT &&value)
GetUsageProfileResult & WithConfiguration(ConfigurationT &&value)
GetUsageProfileResult & WithRequestId(RequestIdT &&value)
const ProfileConfiguration & GetConfiguration() const
GetUsageProfileResult & WithName(NameT &&value)
void SetConfiguration(ConfigurationT &&value)
AWS_GLUE_API GetUsageProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue