AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppValidationConfiguration.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/AppValidationStrategy.h>
10#include <aws/sms/model/SSMValidationParameters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SMS
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const Aws::String& GetValidationId() const{ return m_validationId; }
47 inline bool ValidationIdHasBeenSet() const { return m_validationIdHasBeenSet; }
48 inline void SetValidationId(const Aws::String& value) { m_validationIdHasBeenSet = true; m_validationId = value; }
49 inline void SetValidationId(Aws::String&& value) { m_validationIdHasBeenSet = true; m_validationId = std::move(value); }
50 inline void SetValidationId(const char* value) { m_validationIdHasBeenSet = true; m_validationId.assign(value); }
51 inline AppValidationConfiguration& WithValidationId(const Aws::String& value) { SetValidationId(value); return *this;}
52 inline AppValidationConfiguration& WithValidationId(Aws::String&& value) { SetValidationId(std::move(value)); return *this;}
53 inline AppValidationConfiguration& WithValidationId(const char* value) { SetValidationId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline AppValidationConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline AppValidationConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline AppValidationConfiguration& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const AppValidationStrategy& GetAppValidationStrategy() const{ return m_appValidationStrategy; }
75 inline bool AppValidationStrategyHasBeenSet() const { return m_appValidationStrategyHasBeenSet; }
76 inline void SetAppValidationStrategy(const AppValidationStrategy& value) { m_appValidationStrategyHasBeenSet = true; m_appValidationStrategy = value; }
77 inline void SetAppValidationStrategy(AppValidationStrategy&& value) { m_appValidationStrategyHasBeenSet = true; m_appValidationStrategy = std::move(value); }
81
83
86 inline const SSMValidationParameters& GetSsmValidationParameters() const{ return m_ssmValidationParameters; }
87 inline bool SsmValidationParametersHasBeenSet() const { return m_ssmValidationParametersHasBeenSet; }
88 inline void SetSsmValidationParameters(const SSMValidationParameters& value) { m_ssmValidationParametersHasBeenSet = true; m_ssmValidationParameters = value; }
89 inline void SetSsmValidationParameters(SSMValidationParameters&& value) { m_ssmValidationParametersHasBeenSet = true; m_ssmValidationParameters = std::move(value); }
93 private:
94
95 Aws::String m_validationId;
96 bool m_validationIdHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 AppValidationStrategy m_appValidationStrategy;
102 bool m_appValidationStrategyHasBeenSet = false;
103
104 SSMValidationParameters m_ssmValidationParameters;
105 bool m_ssmValidationParametersHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SMS
110} // namespace Aws
AppValidationConfiguration & WithName(const Aws::String &value)
AWS_SMS_API AppValidationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AppValidationConfiguration & WithName(const char *value)
AppValidationConfiguration & WithValidationId(const Aws::String &value)
AppValidationConfiguration & WithAppValidationStrategy(AppValidationStrategy &&value)
AppValidationConfiguration & WithValidationId(const char *value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSsmValidationParameters(SSMValidationParameters &&value)
void SetAppValidationStrategy(AppValidationStrategy &&value)
void SetSsmValidationParameters(const SSMValidationParameters &value)
void SetAppValidationStrategy(const AppValidationStrategy &value)
AppValidationConfiguration & WithAppValidationStrategy(const AppValidationStrategy &value)
AppValidationConfiguration & WithValidationId(Aws::String &&value)
AppValidationConfiguration & WithSsmValidationParameters(SSMValidationParameters &&value)
AWS_SMS_API AppValidationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AppValidationConfiguration & WithSsmValidationParameters(const SSMValidationParameters &value)
const AppValidationStrategy & GetAppValidationStrategy() const
const SSMValidationParameters & GetSsmValidationParameters() const
AppValidationConfiguration & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue