AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerateAccessLogsRequest.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/AmplifyRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Amplify
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_AMPLIFY_API GenerateAccessLogsRequest();
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_AMPLIFY_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
46 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
47 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
48 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
49 inline GenerateAccessLogsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
50 inline GenerateAccessLogsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
52
54
58 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
59 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
60 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
61 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
62 inline GenerateAccessLogsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
63 inline GenerateAccessLogsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetDomainName() const{ return m_domainName; }
71 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
72 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
73 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
74 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
75 inline GenerateAccessLogsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
76 inline GenerateAccessLogsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
77 inline GenerateAccessLogsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
79
81
84 inline const Aws::String& GetAppId() const{ return m_appId; }
85 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
86 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
87 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
88 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
89 inline GenerateAccessLogsRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
90 inline GenerateAccessLogsRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
91 inline GenerateAccessLogsRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
93 private:
94
95 Aws::Utils::DateTime m_startTime;
96 bool m_startTimeHasBeenSet = false;
97
98 Aws::Utils::DateTime m_endTime;
99 bool m_endTimeHasBeenSet = false;
100
101 Aws::String m_domainName;
102 bool m_domainNameHasBeenSet = false;
103
104 Aws::String m_appId;
105 bool m_appIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Amplify
110} // namespace Aws
GenerateAccessLogsRequest & WithEndTime(Aws::Utils::DateTime &&value)
GenerateAccessLogsRequest & WithStartTime(const Aws::Utils::DateTime &value)
GenerateAccessLogsRequest & WithAppId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(const Aws::Utils::DateTime &value)
GenerateAccessLogsRequest & WithDomainName(Aws::String &&value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
GenerateAccessLogsRequest & WithDomainName(const Aws::String &value)
GenerateAccessLogsRequest & WithAppId(const char *value)
GenerateAccessLogsRequest & WithAppId(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
GenerateAccessLogsRequest & WithStartTime(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
GenerateAccessLogsRequest & WithDomainName(const char *value)
GenerateAccessLogsRequest & WithEndTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String