AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetResourceConfigHistoryResult.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/config/model/ConfigurationItem.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ConfigService
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CONFIGSERVICE_API GetResourceConfigHistoryResult() = default;
41
42
44
47 inline const Aws::Vector<ConfigurationItem>& GetConfigurationItems() const { return m_configurationItems; }
48 template<typename ConfigurationItemsT = Aws::Vector<ConfigurationItem>>
49 void SetConfigurationItems(ConfigurationItemsT&& value) { m_configurationItemsHasBeenSet = true; m_configurationItems = std::forward<ConfigurationItemsT>(value); }
50 template<typename ConfigurationItemsT = Aws::Vector<ConfigurationItem>>
51 GetResourceConfigHistoryResult& WithConfigurationItems(ConfigurationItemsT&& value) { SetConfigurationItems(std::forward<ConfigurationItemsT>(value)); return *this;}
52 template<typename ConfigurationItemsT = ConfigurationItem>
53 GetResourceConfigHistoryResult& AddConfigurationItems(ConfigurationItemsT&& value) { m_configurationItemsHasBeenSet = true; m_configurationItems.emplace_back(std::forward<ConfigurationItemsT>(value)); return *this; }
55
57
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 template<typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<typename NextTokenT = Aws::String>
65 GetResourceConfigHistoryResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 GetResourceConfigHistoryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::Vector<ConfigurationItem> m_configurationItems;
79 bool m_configurationItemsHasBeenSet = false;
80
81 Aws::String m_nextToken;
82 bool m_nextTokenHasBeenSet = false;
83
84 Aws::String m_requestId;
85 bool m_requestIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ConfigService
90} // namespace Aws
GetResourceConfigHistoryResult & WithConfigurationItems(ConfigurationItemsT &&value)
AWS_CONFIGSERVICE_API GetResourceConfigHistoryResult()=default
GetResourceConfigHistoryResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ConfigurationItem > & GetConfigurationItems() const
AWS_CONFIGSERVICE_API GetResourceConfigHistoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceConfigHistoryResult & AddConfigurationItems(ConfigurationItemsT &&value)
GetResourceConfigHistoryResult & WithNextToken(NextTokenT &&value)
AWS_CONFIGSERVICE_API GetResourceConfigHistoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue