AWS SDK for C++  1.9.157
AWS SDK for C++
GenerateAccessLogsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Amplify
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "GenerateAccessLogs"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
44  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
45 
50  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
51 
56  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
57 
62  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
63 
68  inline GenerateAccessLogsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
69 
74  inline GenerateAccessLogsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
75 
76 
81  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
82 
87  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
88 
93  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
94 
99  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
100 
105  inline GenerateAccessLogsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
106 
111  inline GenerateAccessLogsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
112 
113 
117  inline const Aws::String& GetDomainName() const{ return m_domainName; }
118 
122  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
123 
127  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
128 
132  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
133 
137  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
138 
142  inline GenerateAccessLogsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
143 
147  inline GenerateAccessLogsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
148 
152  inline GenerateAccessLogsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
153 
154 
158  inline const Aws::String& GetAppId() const{ return m_appId; }
159 
163  inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
164 
168  inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
169 
173  inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
174 
178  inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
179 
183  inline GenerateAccessLogsRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
184 
188  inline GenerateAccessLogsRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
189 
193  inline GenerateAccessLogsRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
194 
195  private:
196 
197  Aws::Utils::DateTime m_startTime;
198  bool m_startTimeHasBeenSet;
199 
200  Aws::Utils::DateTime m_endTime;
201  bool m_endTimeHasBeenSet;
202 
203  Aws::String m_domainName;
204  bool m_domainNameHasBeenSet;
205 
206  Aws::String m_appId;
207  bool m_appIdHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace Amplify
212 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Amplify_EXPORTS.h
Aws::Amplify::Model::GenerateAccessLogsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GenerateAccessLogsRequest.h:35
Aws::Amplify::Model::GenerateAccessLogsRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: GenerateAccessLogsRequest.h:56
Aws::Amplify::Model::GenerateAccessLogsRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: GenerateAccessLogsRequest.h:127
Aws::Amplify::Model::GenerateAccessLogsRequest::SetAppId
void SetAppId(Aws::String &&value)
Definition: GenerateAccessLogsRequest.h:173
DateTime.h
Aws::Amplify::Model::GenerateAccessLogsRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: GenerateAccessLogsRequest.h:62
Aws::Amplify::Model::GenerateAccessLogsRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: GenerateAccessLogsRequest.h:117
Aws::Amplify::Model::GenerateAccessLogsRequest::SetAppId
void SetAppId(const char *value)
Definition: GenerateAccessLogsRequest.h:178
Aws::Amplify::Model::GenerateAccessLogsRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: GenerateAccessLogsRequest.h:132
AmplifyRequest.h
Aws::Amplify::Model::GenerateAccessLogsRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: GenerateAccessLogsRequest.h:99
Aws::Amplify::AmplifyRequest
Definition: AmplifyRequest.h:17
Aws::Amplify::Model::GenerateAccessLogsRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: GenerateAccessLogsRequest.h:93
Aws::Amplify::Model::GenerateAccessLogsRequest::SetAppId
void SetAppId(const Aws::String &value)
Definition: GenerateAccessLogsRequest.h:168
Aws::Amplify::Model::GenerateAccessLogsRequest::WithDomainName
GenerateAccessLogsRequest & WithDomainName(const Aws::String &value)
Definition: GenerateAccessLogsRequest.h:142
Aws::Amplify::Model::GenerateAccessLogsRequest::WithAppId
GenerateAccessLogsRequest & WithAppId(const char *value)
Definition: GenerateAccessLogsRequest.h:193
Aws::Amplify::Model::GenerateAccessLogsRequest::AppIdHasBeenSet
bool AppIdHasBeenSet() const
Definition: GenerateAccessLogsRequest.h:163
Aws::Amplify::Model::GenerateAccessLogsRequest::GetAppId
const Aws::String & GetAppId() const
Definition: GenerateAccessLogsRequest.h:158
Aws::Amplify::Model::GenerateAccessLogsRequest::WithDomainName
GenerateAccessLogsRequest & WithDomainName(const char *value)
Definition: GenerateAccessLogsRequest.h:152
AWSString.h
Aws::Amplify::Model::GenerateAccessLogsRequest
Definition: GenerateAccessLogsRequest.h:27
Aws::Amplify::Model::GenerateAccessLogsRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: GenerateAccessLogsRequest.h:50
Aws::Amplify::Model::GenerateAccessLogsRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: GenerateAccessLogsRequest.h:81
Aws::Amplify::Model::GenerateAccessLogsRequest::WithStartTime
GenerateAccessLogsRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: GenerateAccessLogsRequest.h:68
Aws::Amplify::Model::GenerateAccessLogsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Amplify::Model::GenerateAccessLogsRequest::WithEndTime
GenerateAccessLogsRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: GenerateAccessLogsRequest.h:111
Aws::Amplify::Model::GenerateAccessLogsRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: GenerateAccessLogsRequest.h:87
Aws::Amplify::Model::GenerateAccessLogsRequest::GenerateAccessLogsRequest
GenerateAccessLogsRequest()
Aws::Amplify::Model::GenerateAccessLogsRequest::WithAppId
GenerateAccessLogsRequest & WithAppId(Aws::String &&value)
Definition: GenerateAccessLogsRequest.h:188
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::GenerateAccessLogsRequest::WithStartTime
GenerateAccessLogsRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: GenerateAccessLogsRequest.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::GenerateAccessLogsRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: GenerateAccessLogsRequest.h:122
Aws::Amplify::Model::GenerateAccessLogsRequest::SetDomainName
void SetDomainName(const char *value)
Definition: GenerateAccessLogsRequest.h:137
Aws::Amplify::Model::GenerateAccessLogsRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: GenerateAccessLogsRequest.h:44
Aws::Amplify::Model::GenerateAccessLogsRequest::WithAppId
GenerateAccessLogsRequest & WithAppId(const Aws::String &value)
Definition: GenerateAccessLogsRequest.h:183
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::GenerateAccessLogsRequest::WithEndTime
GenerateAccessLogsRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: GenerateAccessLogsRequest.h:105
Aws::Amplify::Model::GenerateAccessLogsRequest::WithDomainName
GenerateAccessLogsRequest & WithDomainName(Aws::String &&value)
Definition: GenerateAccessLogsRequest.h:147