AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedInstancesModificationsRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace EC2
17{
18namespace Model
19{
20
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DescribeReservedInstancesModifications"; }
37
38 AWS_EC2_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
49 inline const Aws::Vector<Aws::String>& GetReservedInstancesModificationIds() const{ return m_reservedInstancesModificationIds; }
50 inline bool ReservedInstancesModificationIdsHasBeenSet() const { return m_reservedInstancesModificationIdsHasBeenSet; }
51 inline void SetReservedInstancesModificationIds(const Aws::Vector<Aws::String>& value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds = value; }
52 inline void SetReservedInstancesModificationIds(Aws::Vector<Aws::String>&& value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds = std::move(value); }
55 inline DescribeReservedInstancesModificationsRequest& AddReservedInstancesModificationIds(const Aws::String& value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds.push_back(value); return *this; }
56 inline DescribeReservedInstancesModificationsRequest& AddReservedInstancesModificationIds(Aws::String&& value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds.push_back(std::move(value)); return *this; }
57 inline DescribeReservedInstancesModificationsRequest& AddReservedInstancesModificationIds(const char* value) { m_reservedInstancesModificationIdsHasBeenSet = true; m_reservedInstancesModificationIds.push_back(value); return *this; }
59
61
64 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
70 inline DescribeReservedInstancesModificationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline DescribeReservedInstancesModificationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
99 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
100 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
101 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
102 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
105 inline DescribeReservedInstancesModificationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
106 inline DescribeReservedInstancesModificationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
108 private:
109
110 Aws::Vector<Aws::String> m_reservedInstancesModificationIds;
111 bool m_reservedInstancesModificationIdsHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 Aws::Vector<Filter> m_filters;
117 bool m_filtersHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace EC2
122} // namespace Aws
DescribeReservedInstancesModificationsRequest & WithFilters(Aws::Vector< Filter > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeReservedInstancesModificationsRequest & WithReservedInstancesModificationIds(const Aws::Vector< Aws::String > &value)
DescribeReservedInstancesModificationsRequest & WithNextToken(Aws::String &&value)
DescribeReservedInstancesModificationsRequest & WithNextToken(const Aws::String &value)
DescribeReservedInstancesModificationsRequest & AddReservedInstancesModificationIds(const char *value)
DescribeReservedInstancesModificationsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeReservedInstancesModificationsRequest & AddFilters(Filter &&value)
DescribeReservedInstancesModificationsRequest & WithReservedInstancesModificationIds(Aws::Vector< Aws::String > &&value)
DescribeReservedInstancesModificationsRequest & AddReservedInstancesModificationIds(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeReservedInstancesModificationsRequest & AddFilters(const Filter &value)
DescribeReservedInstancesModificationsRequest & AddReservedInstancesModificationIds(const Aws::String &value)
DescribeReservedInstancesModificationsRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector