AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
26 AWS_PI_API GetDimensionKeyDetailsRequest() = default;
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 ServiceType GetServiceType() const { return m_serviceType; }
45 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
46 inline void SetServiceType(ServiceType value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
49
51
57 inline const Aws::String& GetIdentifier() const { return m_identifier; }
58 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
59 template<typename IdentifierT = Aws::String>
60 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
61 template<typename IdentifierT = Aws::String>
62 GetDimensionKeyDetailsRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
64
66
74 inline const Aws::String& GetGroup() const { return m_group; }
75 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
76 template<typename GroupT = Aws::String>
77 void SetGroup(GroupT&& value) { m_groupHasBeenSet = true; m_group = std::forward<GroupT>(value); }
78 template<typename GroupT = Aws::String>
79 GetDimensionKeyDetailsRequest& WithGroup(GroupT&& value) { SetGroup(std::forward<GroupT>(value)); return *this;}
81
83
97 inline const Aws::String& GetGroupIdentifier() const { return m_groupIdentifier; }
98 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
99 template<typename GroupIdentifierT = Aws::String>
100 void SetGroupIdentifier(GroupIdentifierT&& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = std::forward<GroupIdentifierT>(value); }
101 template<typename GroupIdentifierT = Aws::String>
102 GetDimensionKeyDetailsRequest& WithGroupIdentifier(GroupIdentifierT&& value) { SetGroupIdentifier(std::forward<GroupIdentifierT>(value)); return *this;}
104
106
123 inline const Aws::Vector<Aws::String>& GetRequestedDimensions() const { return m_requestedDimensions; }
124 inline bool RequestedDimensionsHasBeenSet() const { return m_requestedDimensionsHasBeenSet; }
125 template<typename RequestedDimensionsT = Aws::Vector<Aws::String>>
126 void SetRequestedDimensions(RequestedDimensionsT&& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions = std::forward<RequestedDimensionsT>(value); }
127 template<typename RequestedDimensionsT = Aws::Vector<Aws::String>>
128 GetDimensionKeyDetailsRequest& WithRequestedDimensions(RequestedDimensionsT&& value) { SetRequestedDimensions(std::forward<RequestedDimensionsT>(value)); return *this;}
129 template<typename RequestedDimensionsT = Aws::String>
130 GetDimensionKeyDetailsRequest& AddRequestedDimensions(RequestedDimensionsT&& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions.emplace_back(std::forward<RequestedDimensionsT>(value)); return *this; }
132 private:
133
134 ServiceType m_serviceType{ServiceType::NOT_SET};
135 bool m_serviceTypeHasBeenSet = false;
136
137 Aws::String m_identifier;
138 bool m_identifierHasBeenSet = false;
139
140 Aws::String m_group;
141 bool m_groupHasBeenSet = false;
142
143 Aws::String m_groupIdentifier;
144 bool m_groupIdentifierHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_requestedDimensions;
147 bool m_requestedDimensionsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace PI
152} // namespace Aws
GetDimensionKeyDetailsRequest & AddRequestedDimensions(RequestedDimensionsT &&value)
virtual const char * GetServiceRequestName() const override
GetDimensionKeyDetailsRequest & WithGroupIdentifier(GroupIdentifierT &&value)
AWS_PI_API Aws::String SerializePayload() const override
GetDimensionKeyDetailsRequest & WithRequestedDimensions(RequestedDimensionsT &&value)
GetDimensionKeyDetailsRequest & WithGroup(GroupT &&value)
GetDimensionKeyDetailsRequest & WithIdentifier(IdentifierT &&value)
AWS_PI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetRequestedDimensions() const
GetDimensionKeyDetailsRequest & WithServiceType(ServiceType 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