AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetUsageProfileResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ProfileConfiguration.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
30 {
31 public:
32 AWS_GLUE_API GetUsageProfileResult() = default;
35
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 GetUsageProfileResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 GetUsageProfileResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
64 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
65 template<typename ConfigurationT = ProfileConfiguration>
66 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
67 template<typename ConfigurationT = ProfileConfiguration>
68 GetUsageProfileResult& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedOn() const { return m_createdOn; }
76 template<typename CreatedOnT = Aws::Utils::DateTime>
77 void SetCreatedOn(CreatedOnT&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::forward<CreatedOnT>(value); }
78 template<typename CreatedOnT = Aws::Utils::DateTime>
79 GetUsageProfileResult& WithCreatedOn(CreatedOnT&& value) { SetCreatedOn(std::forward<CreatedOnT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
87 template<typename LastModifiedOnT = Aws::Utils::DateTime>
88 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
89 template<typename LastModifiedOnT = Aws::Utils::DateTime>
90 GetUsageProfileResult& WithLastModifiedOn(LastModifiedOnT&& value) { SetLastModifiedOn(std::forward<LastModifiedOnT>(value)); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const { return m_requestId; }
96 template<typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
98 template<typename RequestIdT = Aws::String>
99 GetUsageProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108
109 ProfileConfiguration m_configuration;
110 bool m_configurationHasBeenSet = false;
111
112 Aws::Utils::DateTime m_createdOn{};
113 bool m_createdOnHasBeenSet = false;
114
115 Aws::Utils::DateTime m_lastModifiedOn{};
116 bool m_lastModifiedOnHasBeenSet = false;
117
118 Aws::String m_requestId;
119 bool m_requestIdHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Glue
124} // 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