AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleUpdateFailure.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace VPCLattice
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_VPCLATTICE_API RuleUpdateFailure();
35 AWS_VPCLATTICE_API RuleUpdateFailure(Aws::Utils::Json::JsonView jsonValue);
37 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetFailureCode() const{ return m_failureCode; }
45 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
46 inline void SetFailureCode(const Aws::String& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
47 inline void SetFailureCode(Aws::String&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
48 inline void SetFailureCode(const char* value) { m_failureCodeHasBeenSet = true; m_failureCode.assign(value); }
49 inline RuleUpdateFailure& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;}
50 inline RuleUpdateFailure& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;}
51 inline RuleUpdateFailure& WithFailureCode(const char* value) { SetFailureCode(value); return *this;}
53
55
58 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
59 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
60 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
61 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
62 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
63 inline RuleUpdateFailure& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
64 inline RuleUpdateFailure& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
65 inline RuleUpdateFailure& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
67
69
72 inline const Aws::String& GetRuleIdentifier() const{ return m_ruleIdentifier; }
73 inline bool RuleIdentifierHasBeenSet() const { return m_ruleIdentifierHasBeenSet; }
74 inline void SetRuleIdentifier(const Aws::String& value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier = value; }
75 inline void SetRuleIdentifier(Aws::String&& value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier = std::move(value); }
76 inline void SetRuleIdentifier(const char* value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier.assign(value); }
77 inline RuleUpdateFailure& WithRuleIdentifier(const Aws::String& value) { SetRuleIdentifier(value); return *this;}
78 inline RuleUpdateFailure& WithRuleIdentifier(Aws::String&& value) { SetRuleIdentifier(std::move(value)); return *this;}
79 inline RuleUpdateFailure& WithRuleIdentifier(const char* value) { SetRuleIdentifier(value); return *this;}
81 private:
82
83 Aws::String m_failureCode;
84 bool m_failureCodeHasBeenSet = false;
85
86 Aws::String m_failureMessage;
87 bool m_failureMessageHasBeenSet = false;
88
89 Aws::String m_ruleIdentifier;
90 bool m_ruleIdentifierHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace VPCLattice
95} // namespace Aws
RuleUpdateFailure & WithFailureCode(Aws::String &&value)
RuleUpdateFailure & WithRuleIdentifier(const Aws::String &value)
RuleUpdateFailure & WithFailureCode(const char *value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
RuleUpdateFailure & WithRuleIdentifier(const char *value)
const Aws::String & GetFailureCode() const
void SetRuleIdentifier(const Aws::String &value)
RuleUpdateFailure & WithFailureCode(const Aws::String &value)
void SetFailureCode(const Aws::String &value)
RuleUpdateFailure & WithFailureMessage(const char *value)
AWS_VPCLATTICE_API RuleUpdateFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleUpdateFailure & WithFailureMessage(const Aws::String &value)
AWS_VPCLATTICE_API RuleUpdateFailure(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFailureMessage() const
RuleUpdateFailure & WithFailureMessage(Aws::String &&value)
void SetFailureMessage(const Aws::String &value)
const Aws::String & GetRuleIdentifier() const
RuleUpdateFailure & WithRuleIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue