AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDimensionKeyDetailsRequest.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/pi/PIRequest.h>
9#include <aws/pi/model/ServiceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace PI
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetDimensionKeyDetails"; }
33
34 AWS_PI_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const ServiceType& GetServiceType() const{ return m_serviceType; }
45 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
46 inline void SetServiceType(const ServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
47 inline void SetServiceType(ServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); }
48 inline GetDimensionKeyDetailsRequest& WithServiceType(const ServiceType& value) { SetServiceType(value); return *this;}
49 inline GetDimensionKeyDetailsRequest& WithServiceType(ServiceType&& value) { SetServiceType(std::move(value)); return *this;}
51
53
59 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
60 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
61 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
62 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
63 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
64 inline GetDimensionKeyDetailsRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
65 inline GetDimensionKeyDetailsRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
66 inline GetDimensionKeyDetailsRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
68
70
76 inline const Aws::String& GetGroup() const{ return m_group; }
77 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
78 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
79 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
80 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
81 inline GetDimensionKeyDetailsRequest& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
82 inline GetDimensionKeyDetailsRequest& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
83 inline GetDimensionKeyDetailsRequest& WithGroup(const char* value) { SetGroup(value); return *this;}
85
87
95 inline const Aws::String& GetGroupIdentifier() const{ return m_groupIdentifier; }
96 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
97 inline void SetGroupIdentifier(const Aws::String& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = value; }
98 inline void SetGroupIdentifier(Aws::String&& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = std::move(value); }
99 inline void SetGroupIdentifier(const char* value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier.assign(value); }
101 inline GetDimensionKeyDetailsRequest& WithGroupIdentifier(Aws::String&& value) { SetGroupIdentifier(std::move(value)); return *this;}
102 inline GetDimensionKeyDetailsRequest& WithGroupIdentifier(const char* value) { SetGroupIdentifier(value); return *this;}
104
106
117 inline const Aws::Vector<Aws::String>& GetRequestedDimensions() const{ return m_requestedDimensions; }
118 inline bool RequestedDimensionsHasBeenSet() const { return m_requestedDimensionsHasBeenSet; }
119 inline void SetRequestedDimensions(const Aws::Vector<Aws::String>& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions = value; }
120 inline void SetRequestedDimensions(Aws::Vector<Aws::String>&& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions = std::move(value); }
123 inline GetDimensionKeyDetailsRequest& AddRequestedDimensions(const Aws::String& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions.push_back(value); return *this; }
124 inline GetDimensionKeyDetailsRequest& AddRequestedDimensions(Aws::String&& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions.push_back(std::move(value)); return *this; }
125 inline GetDimensionKeyDetailsRequest& AddRequestedDimensions(const char* value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions.push_back(value); return *this; }
127 private:
128
129 ServiceType m_serviceType;
130 bool m_serviceTypeHasBeenSet = false;
131
132 Aws::String m_identifier;
133 bool m_identifierHasBeenSet = false;
134
135 Aws::String m_group;
136 bool m_groupHasBeenSet = false;
137
138 Aws::String m_groupIdentifier;
139 bool m_groupIdentifierHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_requestedDimensions;
142 bool m_requestedDimensionsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace PI
147} // namespace Aws
GetDimensionKeyDetailsRequest & AddRequestedDimensions(const char *value)
GetDimensionKeyDetailsRequest & WithGroup(const char *value)
GetDimensionKeyDetailsRequest & WithIdentifier(const Aws::String &value)
GetDimensionKeyDetailsRequest & WithGroup(const Aws::String &value)
GetDimensionKeyDetailsRequest & WithIdentifier(const char *value)
GetDimensionKeyDetailsRequest & WithServiceType(const ServiceType &value)
GetDimensionKeyDetailsRequest & WithGroupIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetDimensionKeyDetailsRequest & AddRequestedDimensions(Aws::String &&value)
GetDimensionKeyDetailsRequest & WithServiceType(ServiceType &&value)
GetDimensionKeyDetailsRequest & WithGroup(Aws::String &&value)
GetDimensionKeyDetailsRequest & AddRequestedDimensions(const Aws::String &value)
AWS_PI_API Aws::String SerializePayload() const override
GetDimensionKeyDetailsRequest & WithRequestedDimensions(Aws::Vector< Aws::String > &&value)
GetDimensionKeyDetailsRequest & WithGroupIdentifier(const char *value)
GetDimensionKeyDetailsRequest & WithRequestedDimensions(const Aws::Vector< Aws::String > &value)
AWS_PI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetDimensionKeyDetailsRequest & WithGroupIdentifier(Aws::String &&value)
GetDimensionKeyDetailsRequest & WithIdentifier(Aws::String &&value)
void SetRequestedDimensions(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetRequestedDimensions() const
void SetRequestedDimensions(Aws::Vector< Aws::String > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector