AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetUsageProfileResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/ProfileConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API GetUsageProfileResult() = default;
30
32
35 inline const Aws::String& GetName() const { return m_name; }
36 template <typename NameT = Aws::String>
37 void SetName(NameT&& value) {
38 m_nameHasBeenSet = true;
39 m_name = std::forward<NameT>(value);
40 }
41 template <typename NameT = Aws::String>
43 SetName(std::forward<NameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 template <typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) {
55 m_descriptionHasBeenSet = true;
56 m_description = std::forward<DescriptionT>(value);
57 }
58 template <typename DescriptionT = Aws::String>
59 GetUsageProfileResult& WithDescription(DescriptionT&& value) {
60 SetDescription(std::forward<DescriptionT>(value));
61 return *this;
62 }
64
66
70 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
71 template <typename ConfigurationT = ProfileConfiguration>
72 void SetConfiguration(ConfigurationT&& value) {
73 m_configurationHasBeenSet = true;
74 m_configuration = std::forward<ConfigurationT>(value);
75 }
76 template <typename ConfigurationT = ProfileConfiguration>
77 GetUsageProfileResult& WithConfiguration(ConfigurationT&& value) {
78 SetConfiguration(std::forward<ConfigurationT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetCreatedOn() const { return m_createdOn; }
88 template <typename CreatedOnT = Aws::Utils::DateTime>
89 void SetCreatedOn(CreatedOnT&& value) {
90 m_createdOnHasBeenSet = true;
91 m_createdOn = std::forward<CreatedOnT>(value);
92 }
93 template <typename CreatedOnT = Aws::Utils::DateTime>
94 GetUsageProfileResult& WithCreatedOn(CreatedOnT&& value) {
95 SetCreatedOn(std::forward<CreatedOnT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
105 template <typename LastModifiedOnT = Aws::Utils::DateTime>
106 void SetLastModifiedOn(LastModifiedOnT&& value) {
107 m_lastModifiedOnHasBeenSet = true;
108 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
109 }
110 template <typename LastModifiedOnT = Aws::Utils::DateTime>
111 GetUsageProfileResult& WithLastModifiedOn(LastModifiedOnT&& value) {
112 SetLastModifiedOn(std::forward<LastModifiedOnT>(value));
113 return *this;
114 }
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template <typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) {
122 m_requestIdHasBeenSet = true;
123 m_requestId = std::forward<RequestIdT>(value);
124 }
125 template <typename RequestIdT = Aws::String>
127 SetRequestId(std::forward<RequestIdT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_name;
133
134 Aws::String m_description;
135
136 ProfileConfiguration m_configuration;
137
138 Aws::Utils::DateTime m_createdOn{};
139
140 Aws::Utils::DateTime m_lastModifiedOn{};
141
142 Aws::String m_requestId;
143 bool m_nameHasBeenSet = false;
144 bool m_descriptionHasBeenSet = false;
145 bool m_configurationHasBeenSet = false;
146 bool m_createdOnHasBeenSet = false;
147 bool m_lastModifiedOnHasBeenSet = false;
148 bool m_requestIdHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace Glue
153} // 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_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