AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDimensionResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/DimensionType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoT
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOT_API UpdateDimensionResult();
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline void SetName(const Aws::String& value) { m_name = value; }
44 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
45 inline void SetName(const char* value) { m_name.assign(value); }
46 inline UpdateDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline UpdateDimensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline UpdateDimensionResult& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline void SetArn(const Aws::String& value) { m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arn.assign(value); }
59 inline UpdateDimensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline UpdateDimensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline UpdateDimensionResult& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const DimensionType& GetType() const{ return m_type; }
69 inline void SetType(const DimensionType& value) { m_type = value; }
70 inline void SetType(DimensionType&& value) { m_type = std::move(value); }
71 inline UpdateDimensionResult& WithType(const DimensionType& value) { SetType(value); return *this;}
72 inline UpdateDimensionResult& WithType(DimensionType&& value) { SetType(std::move(value)); return *this;}
74
76
80 inline const Aws::Vector<Aws::String>& GetStringValues() const{ return m_stringValues; }
81 inline void SetStringValues(const Aws::Vector<Aws::String>& value) { m_stringValues = value; }
82 inline void SetStringValues(Aws::Vector<Aws::String>&& value) { m_stringValues = std::move(value); }
84 inline UpdateDimensionResult& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
85 inline UpdateDimensionResult& AddStringValues(const Aws::String& value) { m_stringValues.push_back(value); return *this; }
86 inline UpdateDimensionResult& AddStringValues(Aws::String&& value) { m_stringValues.push_back(std::move(value)); return *this; }
87 inline UpdateDimensionResult& AddStringValues(const char* value) { m_stringValues.push_back(value); return *this; }
89
91
95 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
96 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
97 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
98 inline UpdateDimensionResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
99 inline UpdateDimensionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
101
103
107 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
108 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
109 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
111 inline UpdateDimensionResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline UpdateDimensionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline UpdateDimensionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline UpdateDimensionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 Aws::String m_name;
127
128 Aws::String m_arn;
129
130 DimensionType m_type;
131
132 Aws::Vector<Aws::String> m_stringValues;
133
134 Aws::Utils::DateTime m_creationDate;
135
136 Aws::Utils::DateTime m_lastModifiedDate;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace IoT
143} // namespace Aws
UpdateDimensionResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
UpdateDimensionResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
UpdateDimensionResult & WithCreationDate(const Aws::Utils::DateTime &value)
void SetType(const DimensionType &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
AWS_IOT_API UpdateDimensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStringValues(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreationDate() const
UpdateDimensionResult & AddStringValues(Aws::String &&value)
UpdateDimensionResult & WithStringValues(Aws::Vector< Aws::String > &&value)
UpdateDimensionResult & AddStringValues(const Aws::String &value)
void SetRequestId(const Aws::String &value)
UpdateDimensionResult & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_IOT_API UpdateDimensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDimensionResult & WithName(Aws::String &&value)
UpdateDimensionResult & WithArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetStringValues() const
UpdateDimensionResult & WithRequestId(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
void SetStringValues(const Aws::Vector< Aws::String > &value)
UpdateDimensionResult & WithRequestId(Aws::String &&value)
UpdateDimensionResult & WithType(const DimensionType &value)
UpdateDimensionResult & WithArn(const char *value)
UpdateDimensionResult & WithArn(Aws::String &&value)
UpdateDimensionResult & WithName(const char *value)
void SetArn(const Aws::String &value)
UpdateDimensionResult & WithRequestId(const char *value)
UpdateDimensionResult & WithStringValues(const Aws::Vector< Aws::String > &value)
UpdateDimensionResult & WithType(DimensionType &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
UpdateDimensionResult & AddStringValues(const char *value)
UpdateDimensionResult & WithName(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue