AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeConfigurationTemplatesRequest.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/logs/model/DeliveryDestinationType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudWatchLogs
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDWATCHLOGS_API DescribeConfigurationTemplatesRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeConfigurationTemplates"; }
33
34 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
35
36 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
45 inline const Aws::String& GetService() const{ return m_service; }
46 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
47 inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; }
48 inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
49 inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); }
50 inline DescribeConfigurationTemplatesRequest& WithService(const Aws::String& value) { SetService(value); return *this;}
51 inline DescribeConfigurationTemplatesRequest& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;}
52 inline DescribeConfigurationTemplatesRequest& WithService(const char* value) { SetService(value); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetLogTypes() const{ return m_logTypes; }
61 inline bool LogTypesHasBeenSet() const { return m_logTypesHasBeenSet; }
62 inline void SetLogTypes(const Aws::Vector<Aws::String>& value) { m_logTypesHasBeenSet = true; m_logTypes = value; }
63 inline void SetLogTypes(Aws::Vector<Aws::String>&& value) { m_logTypesHasBeenSet = true; m_logTypes = std::move(value); }
66 inline DescribeConfigurationTemplatesRequest& AddLogTypes(const Aws::String& value) { m_logTypesHasBeenSet = true; m_logTypes.push_back(value); return *this; }
67 inline DescribeConfigurationTemplatesRequest& AddLogTypes(Aws::String&& value) { m_logTypesHasBeenSet = true; m_logTypes.push_back(std::move(value)); return *this; }
68 inline DescribeConfigurationTemplatesRequest& AddLogTypes(const char* value) { m_logTypesHasBeenSet = true; m_logTypes.push_back(value); return *this; }
70
72
76 inline const Aws::Vector<Aws::String>& GetResourceTypes() const{ return m_resourceTypes; }
77 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
78 inline void SetResourceTypes(const Aws::Vector<Aws::String>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
79 inline void SetResourceTypes(Aws::Vector<Aws::String>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::move(value); }
82 inline DescribeConfigurationTemplatesRequest& AddResourceTypes(const Aws::String& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
83 inline DescribeConfigurationTemplatesRequest& AddResourceTypes(Aws::String&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; }
84 inline DescribeConfigurationTemplatesRequest& AddResourceTypes(const char* value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
86
88
93 inline const Aws::Vector<DeliveryDestinationType>& GetDeliveryDestinationTypes() const{ return m_deliveryDestinationTypes; }
94 inline bool DeliveryDestinationTypesHasBeenSet() const { return m_deliveryDestinationTypesHasBeenSet; }
95 inline void SetDeliveryDestinationTypes(const Aws::Vector<DeliveryDestinationType>& value) { m_deliveryDestinationTypesHasBeenSet = true; m_deliveryDestinationTypes = value; }
96 inline void SetDeliveryDestinationTypes(Aws::Vector<DeliveryDestinationType>&& value) { m_deliveryDestinationTypesHasBeenSet = true; m_deliveryDestinationTypes = std::move(value); }
99 inline DescribeConfigurationTemplatesRequest& AddDeliveryDestinationTypes(const DeliveryDestinationType& value) { m_deliveryDestinationTypesHasBeenSet = true; m_deliveryDestinationTypes.push_back(value); return *this; }
100 inline DescribeConfigurationTemplatesRequest& AddDeliveryDestinationTypes(DeliveryDestinationType&& value) { m_deliveryDestinationTypesHasBeenSet = true; m_deliveryDestinationTypes.push_back(std::move(value)); return *this; }
102
104
105 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
106 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
107 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
108 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
109 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
111 inline DescribeConfigurationTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 inline DescribeConfigurationTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114
116
120 inline int GetLimit() const{ return m_limit; }
121 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
122 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
123 inline DescribeConfigurationTemplatesRequest& WithLimit(int value) { SetLimit(value); return *this;}
125 private:
126
127 Aws::String m_service;
128 bool m_serviceHasBeenSet = false;
129
130 Aws::Vector<Aws::String> m_logTypes;
131 bool m_logTypesHasBeenSet = false;
132
133 Aws::Vector<Aws::String> m_resourceTypes;
134 bool m_resourceTypesHasBeenSet = false;
135
136 Aws::Vector<DeliveryDestinationType> m_deliveryDestinationTypes;
137 bool m_deliveryDestinationTypesHasBeenSet = false;
138
139 Aws::String m_nextToken;
140 bool m_nextTokenHasBeenSet = false;
141
142 int m_limit;
143 bool m_limitHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace CloudWatchLogs
148} // namespace Aws
DescribeConfigurationTemplatesRequest & WithDeliveryDestinationTypes(const Aws::Vector< DeliveryDestinationType > &value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
DescribeConfigurationTemplatesRequest & WithLogTypes(const Aws::Vector< Aws::String > &value)
DescribeConfigurationTemplatesRequest & AddResourceTypes(const char *value)
DescribeConfigurationTemplatesRequest & WithNextToken(Aws::String &&value)
DescribeConfigurationTemplatesRequest & AddLogTypes(Aws::String &&value)
DescribeConfigurationTemplatesRequest & AddLogTypes(const char *value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeConfigurationTemplatesRequest & AddLogTypes(const Aws::String &value)
DescribeConfigurationTemplatesRequest & WithDeliveryDestinationTypes(Aws::Vector< DeliveryDestinationType > &&value)
const Aws::Vector< DeliveryDestinationType > & GetDeliveryDestinationTypes() const
DescribeConfigurationTemplatesRequest & WithService(const char *value)
DescribeConfigurationTemplatesRequest & WithNextToken(const Aws::String &value)
DescribeConfigurationTemplatesRequest & WithService(const Aws::String &value)
DescribeConfigurationTemplatesRequest & AddResourceTypes(const Aws::String &value)
DescribeConfigurationTemplatesRequest & WithResourceTypes(const Aws::Vector< Aws::String > &value)
DescribeConfigurationTemplatesRequest & WithService(Aws::String &&value)
DescribeConfigurationTemplatesRequest & AddResourceTypes(Aws::String &&value)
void SetDeliveryDestinationTypes(Aws::Vector< DeliveryDestinationType > &&value)
DescribeConfigurationTemplatesRequest & AddDeliveryDestinationTypes(DeliveryDestinationType &&value)
void SetDeliveryDestinationTypes(const Aws::Vector< DeliveryDestinationType > &value)
DescribeConfigurationTemplatesRequest & AddDeliveryDestinationTypes(const DeliveryDestinationType &value)
DescribeConfigurationTemplatesRequest & WithResourceTypes(Aws::Vector< Aws::String > &&value)
DescribeConfigurationTemplatesRequest & WithNextToken(const char *value)
DescribeConfigurationTemplatesRequest & WithLogTypes(Aws::Vector< Aws::String > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector