AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline void SetName(const Aws::String& value) { m_name = value; }
43 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
44 inline void SetName(const char* value) { m_name.assign(value); }
45 inline GetUsageProfileResult& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline GetUsageProfileResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline GetUsageProfileResult& WithName(const char* value) { SetName(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline void SetDescription(const Aws::String& value) { m_description = value; }
56 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
57 inline void SetDescription(const char* value) { m_description.assign(value); }
58 inline GetUsageProfileResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
59 inline GetUsageProfileResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
60 inline GetUsageProfileResult& WithDescription(const char* value) { SetDescription(value); return *this;}
62
64
68 inline const ProfileConfiguration& GetConfiguration() const{ return m_configuration; }
69 inline void SetConfiguration(const ProfileConfiguration& value) { m_configuration = value; }
70 inline void SetConfiguration(ProfileConfiguration&& value) { m_configuration = std::move(value); }
72 inline GetUsageProfileResult& WithConfiguration(ProfileConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; }
80 inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOn = value; }
81 inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOn = std::move(value); }
82 inline GetUsageProfileResult& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;}
83 inline GetUsageProfileResult& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
91 inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOn = value; }
92 inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOn = std::move(value); }
94 inline GetUsageProfileResult& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline GetUsageProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline GetUsageProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline GetUsageProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_name;
110
111 Aws::String m_description;
112
113 ProfileConfiguration m_configuration;
114
115 Aws::Utils::DateTime m_createdOn;
116
117 Aws::Utils::DateTime m_lastModifiedOn;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace Glue
124} // namespace Aws
const Aws::Utils::DateTime & GetCreatedOn() const
const Aws::Utils::DateTime & GetLastModifiedOn() const
GetUsageProfileResult & WithName(const char *value)
void SetCreatedOn(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
GetUsageProfileResult & WithDescription(const Aws::String &value)
GetUsageProfileResult & WithName(Aws::String &&value)
GetUsageProfileResult & WithDescription(Aws::String &&value)
AWS_GLUE_API GetUsageProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
GetUsageProfileResult & WithCreatedOn(Aws::Utils::DateTime &&value)
void SetConfiguration(const ProfileConfiguration &value)
GetUsageProfileResult & WithDescription(const char *value)
GetUsageProfileResult & WithRequestId(const Aws::String &value)
GetUsageProfileResult & WithConfiguration(const ProfileConfiguration &value)
GetUsageProfileResult & WithLastModifiedOn(Aws::Utils::DateTime &&value)
GetUsageProfileResult & WithConfiguration(ProfileConfiguration &&value)
void SetCreatedOn(const Aws::Utils::DateTime &value)
const ProfileConfiguration & GetConfiguration() const
GetUsageProfileResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
GetUsageProfileResult & WithLastModifiedOn(const Aws::Utils::DateTime &value)
GetUsageProfileResult & WithName(const Aws::String &value)
AWS_GLUE_API GetUsageProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsageProfileResult & WithCreatedOn(const Aws::Utils::DateTime &value)
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
void SetConfiguration(ProfileConfiguration &&value)
GetUsageProfileResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue