AWS SDK for C++  1.9.132
AWS SDK for C++
ReplaceDefaultPolicyVersionParams.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const PolicyTemplateName& GetTemplateName() const{ return m_templateName; }
46 
51  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
52 
57  inline void SetTemplateName(const PolicyTemplateName& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
58 
63  inline void SetTemplateName(PolicyTemplateName&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
64 
69  inline ReplaceDefaultPolicyVersionParams& WithTemplateName(const PolicyTemplateName& value) { SetTemplateName(value); return *this;}
70 
75  inline ReplaceDefaultPolicyVersionParams& WithTemplateName(PolicyTemplateName&& value) { SetTemplateName(std::move(value)); return *this;}
76 
77  private:
78 
79  PolicyTemplateName m_templateName;
80  bool m_templateNameHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace IoT
85 } // namespace Aws
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::ReplaceDefaultPolicyVersionParams
ReplaceDefaultPolicyVersionParams()
PolicyTemplateName.h
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::WithTemplateName
ReplaceDefaultPolicyVersionParams & WithTemplateName(PolicyTemplateName &&value)
Definition: ReplaceDefaultPolicyVersionParams.h:75
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::operator=
ReplaceDefaultPolicyVersionParams & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::PolicyTemplateName
PolicyTemplateName
Definition: PolicyTemplateName.h:17
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::WithTemplateName
ReplaceDefaultPolicyVersionParams & WithTemplateName(const PolicyTemplateName &value)
Definition: ReplaceDefaultPolicyVersionParams.h:69
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::SetTemplateName
void SetTemplateName(const PolicyTemplateName &value)
Definition: ReplaceDefaultPolicyVersionParams.h:57
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::GetTemplateName
const PolicyTemplateName & GetTemplateName() const
Definition: ReplaceDefaultPolicyVersionParams.h:45
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: ReplaceDefaultPolicyVersionParams.h:51
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::SetTemplateName
void SetTemplateName(PolicyTemplateName &&value)
Definition: ReplaceDefaultPolicyVersionParams.h:63
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams::ReplaceDefaultPolicyVersionParams
ReplaceDefaultPolicyVersionParams(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams
Definition: ReplaceDefaultPolicyVersionParams.h:33