AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidationOutput.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sms/model/ValidationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sms/model/AppValidationOutput.h>
12#include <aws/sms/model/ServerValidationOutput.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SMS
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_SMS_API ValidationOutput();
42
43
45
48 inline const Aws::String& GetValidationId() const{ return m_validationId; }
49 inline bool ValidationIdHasBeenSet() const { return m_validationIdHasBeenSet; }
50 inline void SetValidationId(const Aws::String& value) { m_validationIdHasBeenSet = true; m_validationId = value; }
51 inline void SetValidationId(Aws::String&& value) { m_validationIdHasBeenSet = true; m_validationId = std::move(value); }
52 inline void SetValidationId(const char* value) { m_validationIdHasBeenSet = true; m_validationId.assign(value); }
53 inline ValidationOutput& WithValidationId(const Aws::String& value) { SetValidationId(value); return *this;}
54 inline ValidationOutput& WithValidationId(Aws::String&& value) { SetValidationId(std::move(value)); return *this;}
55 inline ValidationOutput& WithValidationId(const char* value) { SetValidationId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline ValidationOutput& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline ValidationOutput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline ValidationOutput& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const ValidationStatus& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const ValidationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(ValidationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline ValidationOutput& WithStatus(const ValidationStatus& value) { SetStatus(value); return *this;}
81 inline ValidationOutput& WithStatus(ValidationStatus&& value) { SetStatus(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
89 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
90 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
91 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
92 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
93 inline ValidationOutput& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
94 inline ValidationOutput& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
95 inline ValidationOutput& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetLatestValidationTime() const{ return m_latestValidationTime; }
103 inline bool LatestValidationTimeHasBeenSet() const { return m_latestValidationTimeHasBeenSet; }
104 inline void SetLatestValidationTime(const Aws::Utils::DateTime& value) { m_latestValidationTimeHasBeenSet = true; m_latestValidationTime = value; }
105 inline void SetLatestValidationTime(Aws::Utils::DateTime&& value) { m_latestValidationTimeHasBeenSet = true; m_latestValidationTime = std::move(value); }
109
111
114 inline const AppValidationOutput& GetAppValidationOutput() const{ return m_appValidationOutput; }
115 inline bool AppValidationOutputHasBeenSet() const { return m_appValidationOutputHasBeenSet; }
116 inline void SetAppValidationOutput(const AppValidationOutput& value) { m_appValidationOutputHasBeenSet = true; m_appValidationOutput = value; }
117 inline void SetAppValidationOutput(AppValidationOutput&& value) { m_appValidationOutputHasBeenSet = true; m_appValidationOutput = std::move(value); }
119 inline ValidationOutput& WithAppValidationOutput(AppValidationOutput&& value) { SetAppValidationOutput(std::move(value)); return *this;}
121
123
126 inline const ServerValidationOutput& GetServerValidationOutput() const{ return m_serverValidationOutput; }
127 inline bool ServerValidationOutputHasBeenSet() const { return m_serverValidationOutputHasBeenSet; }
128 inline void SetServerValidationOutput(const ServerValidationOutput& value) { m_serverValidationOutputHasBeenSet = true; m_serverValidationOutput = value; }
129 inline void SetServerValidationOutput(ServerValidationOutput&& value) { m_serverValidationOutputHasBeenSet = true; m_serverValidationOutput = std::move(value); }
133 private:
134
135 Aws::String m_validationId;
136 bool m_validationIdHasBeenSet = false;
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 ValidationStatus m_status;
142 bool m_statusHasBeenSet = false;
143
144 Aws::String m_statusMessage;
145 bool m_statusMessageHasBeenSet = false;
146
147 Aws::Utils::DateTime m_latestValidationTime;
148 bool m_latestValidationTimeHasBeenSet = false;
149
150 AppValidationOutput m_appValidationOutput;
151 bool m_appValidationOutputHasBeenSet = false;
152
153 ServerValidationOutput m_serverValidationOutput;
154 bool m_serverValidationOutputHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace SMS
159} // namespace Aws
const Aws::String & GetStatusMessage() const
const ValidationStatus & GetStatus() const
void SetLatestValidationTime(const Aws::Utils::DateTime &value)
ValidationOutput & WithStatusMessage(Aws::String &&value)
ValidationOutput & WithName(const Aws::String &value)
void SetServerValidationOutput(ServerValidationOutput &&value)
ValidationOutput & WithServerValidationOutput(const ServerValidationOutput &value)
ValidationOutput & WithValidationId(Aws::String &&value)
AWS_SMS_API ValidationOutput(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ValidationStatus &&value)
ValidationOutput & WithStatus(ValidationStatus &&value)
void SetName(const char *value)
void SetAppValidationOutput(AppValidationOutput &&value)
ValidationOutput & WithStatusMessage(const Aws::String &value)
ValidationOutput & WithValidationId(const Aws::String &value)
void SetValidationId(const char *value)
ValidationOutput & WithName(Aws::String &&value)
void SetValidationId(const Aws::String &value)
void SetAppValidationOutput(const AppValidationOutput &value)
const Aws::String & GetName() const
void SetLatestValidationTime(Aws::Utils::DateTime &&value)
const ServerValidationOutput & GetServerValidationOutput() const
void SetStatusMessage(Aws::String &&value)
ValidationOutput & WithServerValidationOutput(ServerValidationOutput &&value)
void SetStatusMessage(const Aws::String &value)
ValidationOutput & WithStatusMessage(const char *value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SMS_API ValidationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationOutput & WithName(const char *value)
void SetStatus(const ValidationStatus &value)
ValidationOutput & WithStatus(const ValidationStatus &value)
void SetStatusMessage(const char *value)
ValidationOutput & WithAppValidationOutput(AppValidationOutput &&value)
ValidationOutput & WithAppValidationOutput(const AppValidationOutput &value)
void SetValidationId(Aws::String &&value)
void SetServerValidationOutput(const ServerValidationOutput &value)
const Aws::Utils::DateTime & GetLatestValidationTime() const
ValidationOutput & WithLatestValidationTime(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
ValidationOutput & WithValidationId(const char *value)
const Aws::String & GetValidationId() const
void SetName(const Aws::String &value)
const AppValidationOutput & GetAppValidationOutput() const
ValidationOutput & WithLatestValidationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue