AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterInlinePolicy.h
1
6#pragma once
7#include <aws/ssm/SSM_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 SSM
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SSM_API ParameterInlinePolicy();
38
39
41
44 inline const Aws::String& GetPolicyText() const{ return m_policyText; }
45 inline bool PolicyTextHasBeenSet() const { return m_policyTextHasBeenSet; }
46 inline void SetPolicyText(const Aws::String& value) { m_policyTextHasBeenSet = true; m_policyText = value; }
47 inline void SetPolicyText(Aws::String&& value) { m_policyTextHasBeenSet = true; m_policyText = std::move(value); }
48 inline void SetPolicyText(const char* value) { m_policyTextHasBeenSet = true; m_policyText.assign(value); }
49 inline ParameterInlinePolicy& WithPolicyText(const Aws::String& value) { SetPolicyText(value); return *this;}
50 inline ParameterInlinePolicy& WithPolicyText(Aws::String&& value) { SetPolicyText(std::move(value)); return *this;}
51 inline ParameterInlinePolicy& WithPolicyText(const char* value) { SetPolicyText(value); return *this;}
53
55
60 inline const Aws::String& GetPolicyType() const{ return m_policyType; }
61 inline bool PolicyTypeHasBeenSet() const { return m_policyTypeHasBeenSet; }
62 inline void SetPolicyType(const Aws::String& value) { m_policyTypeHasBeenSet = true; m_policyType = value; }
63 inline void SetPolicyType(Aws::String&& value) { m_policyTypeHasBeenSet = true; m_policyType = std::move(value); }
64 inline void SetPolicyType(const char* value) { m_policyTypeHasBeenSet = true; m_policyType.assign(value); }
65 inline ParameterInlinePolicy& WithPolicyType(const Aws::String& value) { SetPolicyType(value); return *this;}
66 inline ParameterInlinePolicy& WithPolicyType(Aws::String&& value) { SetPolicyType(std::move(value)); return *this;}
67 inline ParameterInlinePolicy& WithPolicyType(const char* value) { SetPolicyType(value); return *this;}
69
71
77 inline const Aws::String& GetPolicyStatus() const{ return m_policyStatus; }
78 inline bool PolicyStatusHasBeenSet() const { return m_policyStatusHasBeenSet; }
79 inline void SetPolicyStatus(const Aws::String& value) { m_policyStatusHasBeenSet = true; m_policyStatus = value; }
80 inline void SetPolicyStatus(Aws::String&& value) { m_policyStatusHasBeenSet = true; m_policyStatus = std::move(value); }
81 inline void SetPolicyStatus(const char* value) { m_policyStatusHasBeenSet = true; m_policyStatus.assign(value); }
82 inline ParameterInlinePolicy& WithPolicyStatus(const Aws::String& value) { SetPolicyStatus(value); return *this;}
83 inline ParameterInlinePolicy& WithPolicyStatus(Aws::String&& value) { SetPolicyStatus(std::move(value)); return *this;}
84 inline ParameterInlinePolicy& WithPolicyStatus(const char* value) { SetPolicyStatus(value); return *this;}
86 private:
87
88 Aws::String m_policyText;
89 bool m_policyTextHasBeenSet = false;
90
91 Aws::String m_policyType;
92 bool m_policyTypeHasBeenSet = false;
93
94 Aws::String m_policyStatus;
95 bool m_policyStatusHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SSM
100} // namespace Aws
AWS_SSM_API ParameterInlinePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterInlinePolicy & WithPolicyType(const Aws::String &value)
ParameterInlinePolicy & WithPolicyText(Aws::String &&value)
const Aws::String & GetPolicyStatus() const
void SetPolicyStatus(const Aws::String &value)
ParameterInlinePolicy & WithPolicyText(const Aws::String &value)
ParameterInlinePolicy & WithPolicyStatus(const char *value)
ParameterInlinePolicy & WithPolicyType(Aws::String &&value)
ParameterInlinePolicy & WithPolicyText(const char *value)
AWS_SSM_API ParameterInlinePolicy(Aws::Utils::Json::JsonView jsonValue)
ParameterInlinePolicy & WithPolicyStatus(const Aws::String &value)
void SetPolicyText(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterInlinePolicy & WithPolicyType(const char *value)
ParameterInlinePolicy & WithPolicyStatus(Aws::String &&value)
void SetPolicyType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue