AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceConfigHistoryRequest.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/config/model/ResourceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/config/model/ChronologicalOrder.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ConfigService
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_CONFIGSERVICE_API GetResourceConfigHistoryRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "GetResourceConfigHistory"; }
38
39 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
40
41 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
48 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
49 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
50 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
51 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
53 inline GetResourceConfigHistoryRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
61 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
62 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
63 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
64 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
65 inline GetResourceConfigHistoryRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
66 inline GetResourceConfigHistoryRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
67 inline GetResourceConfigHistoryRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetLaterTime() const{ return m_laterTime; }
76 inline bool LaterTimeHasBeenSet() const { return m_laterTimeHasBeenSet; }
77 inline void SetLaterTime(const Aws::Utils::DateTime& value) { m_laterTimeHasBeenSet = true; m_laterTime = value; }
78 inline void SetLaterTime(Aws::Utils::DateTime&& value) { m_laterTimeHasBeenSet = true; m_laterTime = std::move(value); }
80 inline GetResourceConfigHistoryRequest& WithLaterTime(Aws::Utils::DateTime&& value) { SetLaterTime(std::move(value)); return *this;}
82
84
90 inline const Aws::Utils::DateTime& GetEarlierTime() const{ return m_earlierTime; }
91 inline bool EarlierTimeHasBeenSet() const { return m_earlierTimeHasBeenSet; }
92 inline void SetEarlierTime(const Aws::Utils::DateTime& value) { m_earlierTimeHasBeenSet = true; m_earlierTime = value; }
93 inline void SetEarlierTime(Aws::Utils::DateTime&& value) { m_earlierTimeHasBeenSet = true; m_earlierTime = std::move(value); }
95 inline GetResourceConfigHistoryRequest& WithEarlierTime(Aws::Utils::DateTime&& value) { SetEarlierTime(std::move(value)); return *this;}
97
99
103 inline const ChronologicalOrder& GetChronologicalOrder() const{ return m_chronologicalOrder; }
104 inline bool ChronologicalOrderHasBeenSet() const { return m_chronologicalOrderHasBeenSet; }
105 inline void SetChronologicalOrder(const ChronologicalOrder& value) { m_chronologicalOrderHasBeenSet = true; m_chronologicalOrder = value; }
106 inline void SetChronologicalOrder(ChronologicalOrder&& value) { m_chronologicalOrderHasBeenSet = true; m_chronologicalOrder = std::move(value); }
110
112
117 inline int GetLimit() const{ return m_limit; }
118 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
119 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
120 inline GetResourceConfigHistoryRequest& WithLimit(int value) { SetLimit(value); return *this;}
122
124
128 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
129 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
130 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
131 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
132 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
133 inline GetResourceConfigHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
134 inline GetResourceConfigHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
135 inline GetResourceConfigHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
137 private:
138
139 ResourceType m_resourceType;
140 bool m_resourceTypeHasBeenSet = false;
141
142 Aws::String m_resourceId;
143 bool m_resourceIdHasBeenSet = false;
144
145 Aws::Utils::DateTime m_laterTime;
146 bool m_laterTimeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_earlierTime;
149 bool m_earlierTimeHasBeenSet = false;
150
151 ChronologicalOrder m_chronologicalOrder;
152 bool m_chronologicalOrderHasBeenSet = false;
153
154 int m_limit;
155 bool m_limitHasBeenSet = false;
156
157 Aws::String m_nextToken;
158 bool m_nextTokenHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace ConfigService
163} // namespace Aws
GetResourceConfigHistoryRequest & WithResourceId(const char *value)
GetResourceConfigHistoryRequest & WithResourceId(Aws::String &&value)
GetResourceConfigHistoryRequest & WithResourceType(ResourceType &&value)
GetResourceConfigHistoryRequest & WithLaterTime(Aws::Utils::DateTime &&value)
GetResourceConfigHistoryRequest & WithResourceId(const Aws::String &value)
GetResourceConfigHistoryRequest & WithNextToken(const char *value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetResourceConfigHistoryRequest & WithChronologicalOrder(ChronologicalOrder &&value)
GetResourceConfigHistoryRequest & WithEarlierTime(Aws::Utils::DateTime &&value)
GetResourceConfigHistoryRequest & WithEarlierTime(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
GetResourceConfigHistoryRequest & WithNextToken(Aws::String &&value)
GetResourceConfigHistoryRequest & WithNextToken(const Aws::String &value)
GetResourceConfigHistoryRequest & WithResourceType(const ResourceType &value)
GetResourceConfigHistoryRequest & WithLaterTime(const Aws::Utils::DateTime &value)
GetResourceConfigHistoryRequest & WithChronologicalOrder(const ChronologicalOrder &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String