AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StaticPolicyDefinition.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
35 {
36 public:
37 AWS_VERIFIEDPERMISSIONS_API StaticPolicyDefinition();
38 AWS_VERIFIEDPERMISSIONS_API StaticPolicyDefinition(Aws::Utils::Json::JsonView jsonValue);
39 AWS_VERIFIEDPERMISSIONS_API StaticPolicyDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDescription() const{ return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline StaticPolicyDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline StaticPolicyDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline StaticPolicyDefinition& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
62 inline const Aws::String& GetStatement() const{ return m_statement; }
63 inline bool StatementHasBeenSet() const { return m_statementHasBeenSet; }
64 inline void SetStatement(const Aws::String& value) { m_statementHasBeenSet = true; m_statement = value; }
65 inline void SetStatement(Aws::String&& value) { m_statementHasBeenSet = true; m_statement = std::move(value); }
66 inline void SetStatement(const char* value) { m_statementHasBeenSet = true; m_statement.assign(value); }
67 inline StaticPolicyDefinition& WithStatement(const Aws::String& value) { SetStatement(value); return *this;}
68 inline StaticPolicyDefinition& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;}
69 inline StaticPolicyDefinition& WithStatement(const char* value) { SetStatement(value); return *this;}
71 private:
72
73 Aws::String m_description;
74 bool m_descriptionHasBeenSet = false;
75
76 Aws::String m_statement;
77 bool m_statementHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace VerifiedPermissions
82} // namespace Aws
StaticPolicyDefinition & WithDescription(const char *value)
StaticPolicyDefinition & WithDescription(Aws::String &&value)
StaticPolicyDefinition & WithDescription(const Aws::String &value)
StaticPolicyDefinition & WithStatement(const char *value)
StaticPolicyDefinition & WithStatement(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API StaticPolicyDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API StaticPolicyDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
StaticPolicyDefinition & WithStatement(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue