AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListJobTemplatesRequest.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 ListJobTemplatesRequest();
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 "ListJobTemplates"; }
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 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
49 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
51 inline ListJobTemplatesRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(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 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
61 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
63 inline ListJobTemplatesRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(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 ListJobTemplatesRequest& 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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
83 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
84 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
85 inline ListJobTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 inline ListJobTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 inline ListJobTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
89 private:
90
91 Aws::Utils::DateTime m_createdAfter;
92 bool m_createdAfterHasBeenSet = false;
93
94 Aws::Utils::DateTime m_createdBefore;
95 bool m_createdBeforeHasBeenSet = false;
96
97 int m_maxResults;
98 bool m_maxResultsHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace EMRContainers
106} // namespace Aws
ListJobTemplatesRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
ListJobTemplatesRequest & WithNextToken(const Aws::String &value)
void SetCreatedAfter(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedBefore() const
ListJobTemplatesRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
ListJobTemplatesRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListJobTemplatesRequest & WithNextToken(Aws::String &&value)
void SetCreatedBefore(const Aws::Utils::DateTime &value)
ListJobTemplatesRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListJobTemplatesRequest & WithNextToken(const char *value)
AWS_EMRCONTAINERS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String