AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListSecurityConfigurationsRequest.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/EMRContainersRequest.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 Http
16{
17 class URI;
18} //namespace Http
19namespace EMRContainers
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_EMRCONTAINERS_API ListSecurityConfigurationsRequest() = default;
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 "ListSecurityConfigurations"; }
36
37 AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override;
38
39 AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAfter() const { return m_createdAfter; }
47 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
48 template<typename CreatedAfterT = Aws::Utils::DateTime>
49 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::forward<CreatedAfterT>(value); }
50 template<typename CreatedAfterT = Aws::Utils::DateTime>
51 ListSecurityConfigurationsRequest& WithCreatedAfter(CreatedAfterT&& value) { SetCreatedAfter(std::forward<CreatedAfterT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedBefore() const { return m_createdBefore; }
59 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
60 template<typename CreatedBeforeT = Aws::Utils::DateTime>
61 void SetCreatedBefore(CreatedBeforeT&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::forward<CreatedBeforeT>(value); }
62 template<typename CreatedBeforeT = Aws::Utils::DateTime>
63 ListSecurityConfigurationsRequest& WithCreatedBefore(CreatedBeforeT&& value) { SetCreatedBefore(std::forward<CreatedBeforeT>(value)); return *this;}
65
67
70 inline int GetMaxResults() const { return m_maxResults; }
71 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
73 inline ListSecurityConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
75
77
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template<typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
84 template<typename NextTokenT = Aws::String>
85 ListSecurityConfigurationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
87 private:
88
89 Aws::Utils::DateTime m_createdAfter{};
90 bool m_createdAfterHasBeenSet = false;
91
92 Aws::Utils::DateTime m_createdBefore{};
93 bool m_createdBeforeHasBeenSet = false;
94
95 int m_maxResults{0};
96 bool m_maxResultsHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace EMRContainers
104} // namespace Aws
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
ListSecurityConfigurationsRequest & WithNextToken(NextTokenT &&value)
ListSecurityConfigurationsRequest & WithCreatedBefore(CreatedBeforeT &&value)
ListSecurityConfigurationsRequest & WithCreatedAfter(CreatedAfterT &&value)
AWS_EMRCONTAINERS_API ListSecurityConfigurationsRequest()=default
AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String