AWS SDK for C++  1.9.66
AWS SDK for C++
UntagProjectRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CodeStar
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UntagProject"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetId() const{ return m_id; }
42 
46  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 
51  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 
56  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 
61  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
62 
66  inline UntagProjectRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
67 
71  inline UntagProjectRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 
76  inline UntagProjectRequest& WithId(const char* value) { SetId(value); return *this;}
77 
78 
82  inline const Aws::Vector<Aws::String>& GetTags() const{ return m_tags; }
83 
87  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
88 
92  inline void SetTags(const Aws::Vector<Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
93 
97  inline void SetTags(Aws::Vector<Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
98 
102  inline UntagProjectRequest& WithTags(const Aws::Vector<Aws::String>& value) { SetTags(value); return *this;}
103 
107  inline UntagProjectRequest& WithTags(Aws::Vector<Aws::String>&& value) { SetTags(std::move(value)); return *this;}
108 
112  inline UntagProjectRequest& AddTags(const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
113 
117  inline UntagProjectRequest& AddTags(Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
118 
122  inline UntagProjectRequest& AddTags(const char* value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
123 
124  private:
125 
126  Aws::String m_id;
127  bool m_idHasBeenSet;
128 
130  bool m_tagsHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace CodeStar
135 } // namespace Aws
Aws::CodeStar::Model::UntagProjectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CODESTAR_API
#define AWS_CODESTAR_API
Definition: CodeStar_EXPORTS.h:28
Aws::CodeStar::Model::UntagProjectRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UntagProjectRequest.h:46
Aws::CodeStar::Model::UntagProjectRequest::GetTags
const Aws::Vector< Aws::String > & GetTags() const
Definition: UntagProjectRequest.h:82
Aws::CodeStar::Model::UntagProjectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagProjectRequest.h:31
Aws::CodeStar::Model::UntagProjectRequest
Definition: UntagProjectRequest.h:23
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeStar::Model::UntagProjectRequest::SetTags
void SetTags(Aws::Vector< Aws::String > &&value)
Definition: UntagProjectRequest.h:97
Aws::CodeStar::Model::UntagProjectRequest::SetTags
void SetTags(const Aws::Vector< Aws::String > &value)
Definition: UntagProjectRequest.h:92
Aws::CodeStar::Model::UntagProjectRequest::WithTags
UntagProjectRequest & WithTags(Aws::Vector< Aws::String > &&value)
Definition: UntagProjectRequest.h:107
Aws::CodeStar::Model::UntagProjectRequest::WithTags
UntagProjectRequest & WithTags(const Aws::Vector< Aws::String > &value)
Definition: UntagProjectRequest.h:102
Aws::CodeStar::Model::UntagProjectRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSVector.h
Aws::CodeStar::Model::UntagProjectRequest::SetId
void SetId(Aws::String &&value)
Definition: UntagProjectRequest.h:56
Aws::CodeStar::Model::UntagProjectRequest::AddTags
UntagProjectRequest & AddTags(Aws::String &&value)
Definition: UntagProjectRequest.h:117
Aws::CodeStar::Model::UntagProjectRequest::WithId
UntagProjectRequest & WithId(Aws::String &&value)
Definition: UntagProjectRequest.h:71
Aws::CodeStar::CodeStarRequest
Definition: CodeStarRequest.h:17
CodeStar_EXPORTS.h
Aws::CodeStar::Model::UntagProjectRequest::AddTags
UntagProjectRequest & AddTags(const Aws::String &value)
Definition: UntagProjectRequest.h:112
CodeStarRequest.h
AWSString.h
Aws::CodeStar::Model::UntagProjectRequest::SetId
void SetId(const Aws::String &value)
Definition: UntagProjectRequest.h:51
Aws::CodeStar::Model::UntagProjectRequest::UntagProjectRequest
UntagProjectRequest()
Aws::CodeStar::Model::UntagProjectRequest::WithId
UntagProjectRequest & WithId(const char *value)
Definition: UntagProjectRequest.h:76
Aws::CodeStar::Model::UntagProjectRequest::GetId
const Aws::String & GetId() const
Definition: UntagProjectRequest.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeStar::Model::UntagProjectRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: UntagProjectRequest.h:87
Aws::CodeStar::Model::UntagProjectRequest::SetId
void SetId(const char *value)
Definition: UntagProjectRequest.h:61
Aws::CodeStar::Model::UntagProjectRequest::AddTags
UntagProjectRequest & AddTags(const char *value)
Definition: UntagProjectRequest.h:122
Aws::CodeStar::Model::UntagProjectRequest::WithId
UntagProjectRequest & WithId(const Aws::String &value)
Definition: UntagProjectRequest.h:66