AWS SDK for C++  0.14.3
AWS SDK for C++
ResourceGroup.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace Inspector
29 {
30 namespace Model
31 {
32 
40  {
41  public:
42  ResourceGroup();
44  ResourceGroup& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
45  Aws::Utils::Json::JsonValue Jsonize() const;
46 
50  inline const Aws::String& GetResourceGroupArn() const{ return m_resourceGroupArn; }
51 
55  inline void SetResourceGroupArn(const Aws::String& value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn = value; }
56 
60  inline void SetResourceGroupArn(Aws::String&& value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn = value; }
61 
65  inline void SetResourceGroupArn(const char* value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn.assign(value); }
66 
70  inline ResourceGroup& WithResourceGroupArn(const Aws::String& value) { SetResourceGroupArn(value); return *this;}
71 
75  inline ResourceGroup& WithResourceGroupArn(Aws::String&& value) { SetResourceGroupArn(value); return *this;}
76 
80  inline ResourceGroup& WithResourceGroupArn(const char* value) { SetResourceGroupArn(value); return *this;}
81 
88  inline const Aws::String& GetResourceGroupTags() const{ return m_resourceGroupTags; }
89 
96  inline void SetResourceGroupTags(const Aws::String& value) { m_resourceGroupTagsHasBeenSet = true; m_resourceGroupTags = value; }
97 
104  inline void SetResourceGroupTags(Aws::String&& value) { m_resourceGroupTagsHasBeenSet = true; m_resourceGroupTags = value; }
105 
112  inline void SetResourceGroupTags(const char* value) { m_resourceGroupTagsHasBeenSet = true; m_resourceGroupTags.assign(value); }
113 
120  inline ResourceGroup& WithResourceGroupTags(const Aws::String& value) { SetResourceGroupTags(value); return *this;}
121 
128  inline ResourceGroup& WithResourceGroupTags(Aws::String&& value) { SetResourceGroupTags(value); return *this;}
129 
136  inline ResourceGroup& WithResourceGroupTags(const char* value) { SetResourceGroupTags(value); return *this;}
137 
138  private:
139  Aws::String m_resourceGroupArn;
140  bool m_resourceGroupArnHasBeenSet;
141  Aws::String m_resourceGroupTags;
142  bool m_resourceGroupTagsHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace Inspector
147 } // namespace Aws
ResourceGroup & WithResourceGroupArn(const Aws::String &value)
Definition: ResourceGroup.h:70
ResourceGroup & WithResourceGroupArn(const char *value)
Definition: ResourceGroup.h:80
void SetResourceGroupArn(const char *value)
Definition: ResourceGroup.h:65
void SetResourceGroupTags(Aws::String &&value)
#define AWS_INSPECTOR_API
ResourceGroup & WithResourceGroupTags(const char *value)
void SetResourceGroupArn(Aws::String &&value)
Definition: ResourceGroup.h:60
ResourceGroup & WithResourceGroupTags(Aws::String &&value)
void SetResourceGroupTags(const char *value)
void SetResourceGroupArn(const Aws::String &value)
Definition: ResourceGroup.h:55
const Aws::String & GetResourceGroupArn() const
Definition: ResourceGroup.h:50
ResourceGroup & WithResourceGroupTags(const Aws::String &value)
void SetResourceGroupTags(const Aws::String &value)
Definition: ResourceGroup.h:96
ResourceGroup & WithResourceGroupArn(Aws::String &&value)
Definition: ResourceGroup.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::String & GetResourceGroupTags() const
Definition: ResourceGroup.h:88
JSON (JavaScript Object Notation).