AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStaticPolicyDefinition.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_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 VerifiedPermissions
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_VERIFIEDPERMISSIONS_API UpdateStaticPolicyDefinition();
36 AWS_VERIFIEDPERMISSIONS_API UpdateStaticPolicyDefinition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_VERIFIEDPERMISSIONS_API UpdateStaticPolicyDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetDescription() const{ return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
50 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
51 inline UpdateStaticPolicyDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline UpdateStaticPolicyDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline UpdateStaticPolicyDefinition& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
70 inline const Aws::String& GetStatement() const{ return m_statement; }
71 inline bool StatementHasBeenSet() const { return m_statementHasBeenSet; }
72 inline void SetStatement(const Aws::String& value) { m_statementHasBeenSet = true; m_statement = value; }
73 inline void SetStatement(Aws::String&& value) { m_statementHasBeenSet = true; m_statement = std::move(value); }
74 inline void SetStatement(const char* value) { m_statementHasBeenSet = true; m_statement.assign(value); }
75 inline UpdateStaticPolicyDefinition& WithStatement(const Aws::String& value) { SetStatement(value); return *this;}
76 inline UpdateStaticPolicyDefinition& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;}
77 inline UpdateStaticPolicyDefinition& WithStatement(const char* value) { SetStatement(value); return *this;}
79 private:
80
81 Aws::String m_description;
82 bool m_descriptionHasBeenSet = false;
83
84 Aws::String m_statement;
85 bool m_statementHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace VerifiedPermissions
90} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateStaticPolicyDefinition & WithStatement(Aws::String &&value)
UpdateStaticPolicyDefinition & WithDescription(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API UpdateStaticPolicyDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateStaticPolicyDefinition & WithStatement(const Aws::String &value)
UpdateStaticPolicyDefinition & WithStatement(const char *value)
AWS_VERIFIEDPERMISSIONS_API UpdateStaticPolicyDefinition(Aws::Utils::Json::JsonView jsonValue)
UpdateStaticPolicyDefinition & WithDescription(const char *value)
UpdateStaticPolicyDefinition & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue