AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeResourceScanResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudformation/model/ResourceScanStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cloudformation/model/ResponseMetadata.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace CloudFormation
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CLOUDFORMATION_API DescribeResourceScanResult();
37
38
40
47 inline const Aws::String& GetResourceScanId() const{ return m_resourceScanId; }
48 inline void SetResourceScanId(const Aws::String& value) { m_resourceScanId = value; }
49 inline void SetResourceScanId(Aws::String&& value) { m_resourceScanId = std::move(value); }
50 inline void SetResourceScanId(const char* value) { m_resourceScanId.assign(value); }
51 inline DescribeResourceScanResult& WithResourceScanId(const Aws::String& value) { SetResourceScanId(value); return *this;}
52 inline DescribeResourceScanResult& WithResourceScanId(Aws::String&& value) { SetResourceScanId(std::move(value)); return *this;}
53 inline DescribeResourceScanResult& WithResourceScanId(const char* value) { SetResourceScanId(value); return *this;}
55
57
64 inline const ResourceScanStatus& GetStatus() const{ return m_status; }
65 inline void SetStatus(const ResourceScanStatus& value) { m_status = value; }
66 inline void SetStatus(ResourceScanStatus&& value) { m_status = std::move(value); }
67 inline DescribeResourceScanResult& WithStatus(const ResourceScanStatus& value) { SetStatus(value); return *this;}
68 inline DescribeResourceScanResult& WithStatus(ResourceScanStatus&& value) { SetStatus(std::move(value)); return *this;}
70
72
76 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
77 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
78 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
79 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
80 inline DescribeResourceScanResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
81 inline DescribeResourceScanResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
82 inline DescribeResourceScanResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
90 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
91 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
92 inline DescribeResourceScanResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
93 inline DescribeResourceScanResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
101 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
102 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
103 inline DescribeResourceScanResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
104 inline DescribeResourceScanResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
106
108
111 inline double GetPercentageCompleted() const{ return m_percentageCompleted; }
112 inline void SetPercentageCompleted(double value) { m_percentageCompleted = value; }
113 inline DescribeResourceScanResult& WithPercentageCompleted(double value) { SetPercentageCompleted(value); return *this;}
115
117
122 inline const Aws::Vector<Aws::String>& GetResourceTypes() const{ return m_resourceTypes; }
123 inline void SetResourceTypes(const Aws::Vector<Aws::String>& value) { m_resourceTypes = value; }
124 inline void SetResourceTypes(Aws::Vector<Aws::String>&& value) { m_resourceTypes = std::move(value); }
127 inline DescribeResourceScanResult& AddResourceTypes(const Aws::String& value) { m_resourceTypes.push_back(value); return *this; }
128 inline DescribeResourceScanResult& AddResourceTypes(Aws::String&& value) { m_resourceTypes.push_back(std::move(value)); return *this; }
129 inline DescribeResourceScanResult& AddResourceTypes(const char* value) { m_resourceTypes.push_back(value); return *this; }
131
133
138 inline int GetResourcesScanned() const{ return m_resourcesScanned; }
139 inline void SetResourcesScanned(int value) { m_resourcesScanned = value; }
140 inline DescribeResourceScanResult& WithResourcesScanned(int value) { SetResourcesScanned(value); return *this;}
142
144
150 inline int GetResourcesRead() const{ return m_resourcesRead; }
151 inline void SetResourcesRead(int value) { m_resourcesRead = value; }
152 inline DescribeResourceScanResult& WithResourcesRead(int value) { SetResourcesRead(value); return *this;}
154
156
157 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
158 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
159 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
161 inline DescribeResourceScanResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
163 private:
164
165 Aws::String m_resourceScanId;
166
167 ResourceScanStatus m_status;
168
169 Aws::String m_statusReason;
170
171 Aws::Utils::DateTime m_startTime;
172
173 Aws::Utils::DateTime m_endTime;
174
175 double m_percentageCompleted;
176
177 Aws::Vector<Aws::String> m_resourceTypes;
178
179 int m_resourcesScanned;
180
181 int m_resourcesRead;
182
183 ResponseMetadata m_responseMetadata;
184 };
185
186} // namespace Model
187} // namespace CloudFormation
188} // namespace Aws
DescribeResourceScanResult & WithStatusReason(Aws::String &&value)
const Aws::Vector< Aws::String > & GetResourceTypes() const
DescribeResourceScanResult & WithStatus(ResourceScanStatus &&value)
DescribeResourceScanResult & WithEndTime(Aws::Utils::DateTime &&value)
DescribeResourceScanResult & WithResourceScanId(const char *value)
DescribeResourceScanResult & WithStatusReason(const char *value)
DescribeResourceScanResult & WithStartTime(Aws::Utils::DateTime &&value)
DescribeResourceScanResult & AddResourceTypes(Aws::String &&value)
DescribeResourceScanResult & WithResourceTypes(const Aws::Vector< Aws::String > &value)
DescribeResourceScanResult & WithResourceScanId(Aws::String &&value)
void SetResourceTypes(const Aws::Vector< Aws::String > &value)
AWS_CLOUDFORMATION_API DescribeResourceScanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeResourceScanResult & WithStatusReason(const Aws::String &value)
DescribeResourceScanResult & WithStartTime(const Aws::Utils::DateTime &value)
DescribeResourceScanResult & WithResourceTypes(Aws::Vector< Aws::String > &&value)
DescribeResourceScanResult & AddResourceTypes(const char *value)
DescribeResourceScanResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeResourceScanResult & WithEndTime(const Aws::Utils::DateTime &value)
AWS_CLOUDFORMATION_API DescribeResourceScanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeResourceScanResult & WithResourceScanId(const Aws::String &value)
DescribeResourceScanResult & WithPercentageCompleted(double value)
DescribeResourceScanResult & WithStatus(const ResourceScanStatus &value)
DescribeResourceScanResult & AddResourceTypes(const Aws::String &value)
DescribeResourceScanResult & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument