AWS SDK for C++  0.14.3
AWS SDK for C++
GetResourceConfigHistoryRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 namespace ConfigService
26 {
27 namespace Model
28 {
29 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
39  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40 
44  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
45 
49  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
50 
54  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
55 
59  inline GetResourceConfigHistoryRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
60 
64  inline GetResourceConfigHistoryRequest& WithResourceType(ResourceType&& value) { SetResourceType(value); return *this;}
65 
69  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
70 
74  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
75 
79  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
80 
84  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
85 
89  inline GetResourceConfigHistoryRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
90 
94  inline GetResourceConfigHistoryRequest& WithResourceId(Aws::String&& value) { SetResourceId(value); return *this;}
95 
99  inline GetResourceConfigHistoryRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
100 
105  inline const Aws::Utils::DateTime& GetLaterTime() const{ return m_laterTime; }
106 
111  inline void SetLaterTime(const Aws::Utils::DateTime& value) { m_laterTimeHasBeenSet = true; m_laterTime = value; }
112 
117  inline void SetLaterTime(Aws::Utils::DateTime&& value) { m_laterTimeHasBeenSet = true; m_laterTime = value; }
118 
123  inline GetResourceConfigHistoryRequest& WithLaterTime(const Aws::Utils::DateTime& value) { SetLaterTime(value); return *this;}
124 
129  inline GetResourceConfigHistoryRequest& WithLaterTime(Aws::Utils::DateTime&& value) { SetLaterTime(value); return *this;}
130 
136  inline const Aws::Utils::DateTime& GetEarlierTime() const{ return m_earlierTime; }
137 
143  inline void SetEarlierTime(const Aws::Utils::DateTime& value) { m_earlierTimeHasBeenSet = true; m_earlierTime = value; }
144 
150  inline void SetEarlierTime(Aws::Utils::DateTime&& value) { m_earlierTimeHasBeenSet = true; m_earlierTime = value; }
151 
157  inline GetResourceConfigHistoryRequest& WithEarlierTime(const Aws::Utils::DateTime& value) { SetEarlierTime(value); return *this;}
158 
164  inline GetResourceConfigHistoryRequest& WithEarlierTime(Aws::Utils::DateTime&& value) { SetEarlierTime(value); return *this;}
165 
170  inline const ChronologicalOrder& GetChronologicalOrder() const{ return m_chronologicalOrder; }
171 
176  inline void SetChronologicalOrder(const ChronologicalOrder& value) { m_chronologicalOrderHasBeenSet = true; m_chronologicalOrder = value; }
177 
182  inline void SetChronologicalOrder(ChronologicalOrder&& value) { m_chronologicalOrderHasBeenSet = true; m_chronologicalOrder = value; }
183 
188  inline GetResourceConfigHistoryRequest& WithChronologicalOrder(const ChronologicalOrder& value) { SetChronologicalOrder(value); return *this;}
189 
194  inline GetResourceConfigHistoryRequest& WithChronologicalOrder(ChronologicalOrder&& value) { SetChronologicalOrder(value); return *this;}
195 
201  inline int GetLimit() const{ return m_limit; }
202 
208  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
209 
215  inline GetResourceConfigHistoryRequest& WithLimit(int value) { SetLimit(value); return *this;}
216 
221  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
222 
227  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
228 
233  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
234 
239  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
240 
245  inline GetResourceConfigHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
246 
251  inline GetResourceConfigHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
252 
257  inline GetResourceConfigHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
258 
259  private:
260  ResourceType m_resourceType;
261  bool m_resourceTypeHasBeenSet;
262  Aws::String m_resourceId;
263  bool m_resourceIdHasBeenSet;
264  Aws::Utils::DateTime m_laterTime;
265  bool m_laterTimeHasBeenSet;
266  Aws::Utils::DateTime m_earlierTime;
267  bool m_earlierTimeHasBeenSet;
268  ChronologicalOrder m_chronologicalOrder;
269  bool m_chronologicalOrderHasBeenSet;
270  int m_limit;
271  bool m_limitHasBeenSet;
272  Aws::String m_nextToken;
273  bool m_nextTokenHasBeenSet;
274  };
275 
276 } // namespace Model
277 } // namespace ConfigService
278 } // namespace Aws
GetResourceConfigHistoryRequest & WithResourceType(ResourceType &&value)
GetResourceConfigHistoryRequest & WithResourceId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
GetResourceConfigHistoryRequest & WithLaterTime(const Aws::Utils::DateTime &value)
GetResourceConfigHistoryRequest & WithResourceType(const ResourceType &value)
GetResourceConfigHistoryRequest & WithChronologicalOrder(ChronologicalOrder &&value)
GetResourceConfigHistoryRequest & WithNextToken(const Aws::String &value)
GetResourceConfigHistoryRequest & WithNextToken(const char *value)
GetResourceConfigHistoryRequest & WithNextToken(Aws::String &&value)
GetResourceConfigHistoryRequest & WithResourceId(const char *value)
GetResourceConfigHistoryRequest & WithLaterTime(Aws::Utils::DateTime &&value)
GetResourceConfigHistoryRequest & WithEarlierTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CONFIGSERVICE_API
GetResourceConfigHistoryRequest & WithEarlierTime(const Aws::Utils::DateTime &value)
GetResourceConfigHistoryRequest & WithResourceId(Aws::String &&value)
JSON (JavaScript Object Notation).
GetResourceConfigHistoryRequest & WithChronologicalOrder(const ChronologicalOrder &value)