AWS SDK for C++  0.12.9
AWS SDK for C++
ListPublicKeysRequest.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
20 
21 namespace Aws
22 {
23 namespace CloudTrail
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
44  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
45 
51  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
52 
58  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
59 
65  inline ListPublicKeysRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
66 
72  inline ListPublicKeysRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(value); return *this;}
73 
79  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
80 
86  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
87 
93  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
94 
100  inline ListPublicKeysRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
101 
107  inline ListPublicKeysRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(value); return *this;}
108 
112  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
113 
117  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
118 
122  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
123 
127  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
128 
132  inline ListPublicKeysRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
133 
137  inline ListPublicKeysRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
138 
142  inline ListPublicKeysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
143 
144  private:
145  Aws::Utils::DateTime m_startTime;
146  bool m_startTimeHasBeenSet;
147  Aws::Utils::DateTime m_endTime;
148  bool m_endTimeHasBeenSet;
149  Aws::String m_nextToken;
150  bool m_nextTokenHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace CloudTrail
155 } // namespace Aws
ListPublicKeysRequest & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
ListPublicKeysRequest & WithNextToken(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
ListPublicKeysRequest & WithStartTime(const Aws::Utils::DateTime &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
const Aws::Utils::DateTime & GetStartTime() const
ListPublicKeysRequest & WithNextToken(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
ListPublicKeysRequest & WithEndTime(Aws::Utils::DateTime &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
ListPublicKeysRequest & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDTRAIL_API
ListPublicKeysRequest & WithNextToken(const Aws::String &value)
JSON (JavaScript Object Notation).