AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeScheduledAuditResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AuditFrequency.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/DayOfWeek.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoT
27{
28namespace Model
29{
31 {
32 public:
36
37
39
44 inline const AuditFrequency& GetFrequency() const{ return m_frequency; }
45 inline void SetFrequency(const AuditFrequency& value) { m_frequency = value; }
46 inline void SetFrequency(AuditFrequency&& value) { m_frequency = std::move(value); }
47 inline DescribeScheduledAuditResult& WithFrequency(const AuditFrequency& value) { SetFrequency(value); return *this;}
48 inline DescribeScheduledAuditResult& WithFrequency(AuditFrequency&& value) { SetFrequency(std::move(value)); return *this;}
50
52
58 inline const Aws::String& GetDayOfMonth() const{ return m_dayOfMonth; }
59 inline void SetDayOfMonth(const Aws::String& value) { m_dayOfMonth = value; }
60 inline void SetDayOfMonth(Aws::String&& value) { m_dayOfMonth = std::move(value); }
61 inline void SetDayOfMonth(const char* value) { m_dayOfMonth.assign(value); }
62 inline DescribeScheduledAuditResult& WithDayOfMonth(const Aws::String& value) { SetDayOfMonth(value); return *this;}
63 inline DescribeScheduledAuditResult& WithDayOfMonth(Aws::String&& value) { SetDayOfMonth(std::move(value)); return *this;}
64 inline DescribeScheduledAuditResult& WithDayOfMonth(const char* value) { SetDayOfMonth(value); return *this;}
66
68
73 inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
74 inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeek = value; }
75 inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeek = std::move(value); }
76 inline DescribeScheduledAuditResult& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
77 inline DescribeScheduledAuditResult& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
79
81
88 inline const Aws::Vector<Aws::String>& GetTargetCheckNames() const{ return m_targetCheckNames; }
89 inline void SetTargetCheckNames(const Aws::Vector<Aws::String>& value) { m_targetCheckNames = value; }
90 inline void SetTargetCheckNames(Aws::Vector<Aws::String>&& value) { m_targetCheckNames = std::move(value); }
93 inline DescribeScheduledAuditResult& AddTargetCheckNames(const Aws::String& value) { m_targetCheckNames.push_back(value); return *this; }
94 inline DescribeScheduledAuditResult& AddTargetCheckNames(Aws::String&& value) { m_targetCheckNames.push_back(std::move(value)); return *this; }
95 inline DescribeScheduledAuditResult& AddTargetCheckNames(const char* value) { m_targetCheckNames.push_back(value); return *this; }
97
99
102 inline const Aws::String& GetScheduledAuditName() const{ return m_scheduledAuditName; }
103 inline void SetScheduledAuditName(const Aws::String& value) { m_scheduledAuditName = value; }
104 inline void SetScheduledAuditName(Aws::String&& value) { m_scheduledAuditName = std::move(value); }
105 inline void SetScheduledAuditName(const char* value) { m_scheduledAuditName.assign(value); }
108 inline DescribeScheduledAuditResult& WithScheduledAuditName(const char* value) { SetScheduledAuditName(value); return *this;}
110
112
115 inline const Aws::String& GetScheduledAuditArn() const{ return m_scheduledAuditArn; }
116 inline void SetScheduledAuditArn(const Aws::String& value) { m_scheduledAuditArn = value; }
117 inline void SetScheduledAuditArn(Aws::String&& value) { m_scheduledAuditArn = std::move(value); }
118 inline void SetScheduledAuditArn(const char* value) { m_scheduledAuditArn.assign(value); }
120 inline DescribeScheduledAuditResult& WithScheduledAuditArn(Aws::String&& value) { SetScheduledAuditArn(std::move(value)); return *this;}
121 inline DescribeScheduledAuditResult& WithScheduledAuditArn(const char* value) { SetScheduledAuditArn(value); return *this;}
123
125
126 inline const Aws::String& GetRequestId() const{ return m_requestId; }
127 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
128 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
129 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
130 inline DescribeScheduledAuditResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
131 inline DescribeScheduledAuditResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
132 inline DescribeScheduledAuditResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
134 private:
135
136 AuditFrequency m_frequency;
137
138 Aws::String m_dayOfMonth;
139
140 DayOfWeek m_dayOfWeek;
141
142 Aws::Vector<Aws::String> m_targetCheckNames;
143
144 Aws::String m_scheduledAuditName;
145
146 Aws::String m_scheduledAuditArn;
147
148 Aws::String m_requestId;
149 };
150
151} // namespace Model
152} // namespace IoT
153} // namespace Aws
DescribeScheduledAuditResult & WithDayOfWeek(DayOfWeek &&value)
void SetTargetCheckNames(Aws::Vector< Aws::String > &&value)
void SetTargetCheckNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetTargetCheckNames() const
DescribeScheduledAuditResult & AddTargetCheckNames(const char *value)
DescribeScheduledAuditResult & WithFrequency(AuditFrequency &&value)
DescribeScheduledAuditResult & WithRequestId(const Aws::String &value)
DescribeScheduledAuditResult & WithScheduledAuditName(Aws::String &&value)
DescribeScheduledAuditResult & WithScheduledAuditArn(Aws::String &&value)
DescribeScheduledAuditResult & WithScheduledAuditArn(const Aws::String &value)
DescribeScheduledAuditResult & WithFrequency(const AuditFrequency &value)
DescribeScheduledAuditResult & WithDayOfMonth(Aws::String &&value)
DescribeScheduledAuditResult & WithTargetCheckNames(const Aws::Vector< Aws::String > &value)
AWS_IOT_API DescribeScheduledAuditResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeScheduledAuditResult & WithScheduledAuditName(const Aws::String &value)
DescribeScheduledAuditResult & WithRequestId(Aws::String &&value)
DescribeScheduledAuditResult & WithDayOfMonth(const Aws::String &value)
DescribeScheduledAuditResult & WithScheduledAuditName(const char *value)
DescribeScheduledAuditResult & WithRequestId(const char *value)
DescribeScheduledAuditResult & AddTargetCheckNames(Aws::String &&value)
DescribeScheduledAuditResult & WithDayOfWeek(const DayOfWeek &value)
DescribeScheduledAuditResult & WithDayOfMonth(const char *value)
DescribeScheduledAuditResult & WithTargetCheckNames(Aws::Vector< Aws::String > &&value)
AWS_IOT_API DescribeScheduledAuditResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeScheduledAuditResult & AddTargetCheckNames(const Aws::String &value)
DescribeScheduledAuditResult & WithScheduledAuditArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue