AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCampaignResult.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ConnectCampaigns
25{
26namespace Model
27{
34 {
35 public:
36 AWS_CONNECTCAMPAIGNS_API CreateCampaignResult();
39
40
42
43 inline const Aws::String& GetId() const{ return m_id; }
44 inline void SetId(const Aws::String& value) { m_id = value; }
45 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
46 inline void SetId(const char* value) { m_id.assign(value); }
47 inline CreateCampaignResult& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline CreateCampaignResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline CreateCampaignResult& WithId(const char* value) { SetId(value); return *this;}
51
53
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline void SetArn(const Aws::String& value) { m_arn = value; }
56 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
57 inline void SetArn(const char* value) { m_arn.assign(value); }
58 inline CreateCampaignResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 inline CreateCampaignResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
60 inline CreateCampaignResult& WithArn(const char* value) { SetArn(value); return *this;}
62
64
65 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
66 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
67 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
68 inline CreateCampaignResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
69 inline CreateCampaignResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
70 inline CreateCampaignResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
71 inline CreateCampaignResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
72 inline CreateCampaignResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
73 inline CreateCampaignResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
74 inline CreateCampaignResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
75 inline CreateCampaignResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
76 inline CreateCampaignResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline CreateCampaignResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline CreateCampaignResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline CreateCampaignResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_id;
92
93 Aws::String m_arn;
94
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace ConnectCampaigns
102} // namespace Aws
CreateCampaignResult & WithRequestId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCampaignResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCampaignResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateCampaignResult & WithArn(Aws::String &&value)
CreateCampaignResult & AddTags(const char *key, Aws::String &&value)
CreateCampaignResult & WithRequestId(const Aws::String &value)
AWS_CONNECTCAMPAIGNS_API CreateCampaignResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCampaignResult & WithRequestId(const char *value)
CreateCampaignResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCampaignResult & WithId(const Aws::String &value)
CreateCampaignResult & AddTags(Aws::String &&key, const char *value)
CreateCampaignResult & AddTags(const char *key, const char *value)
CreateCampaignResult & WithId(const char *value)
CreateCampaignResult & WithArn(const char *value)
AWS_CONNECTCAMPAIGNS_API CreateCampaignResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCampaignResult & WithId(Aws::String &&value)
CreateCampaignResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateCampaignResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCampaignResult & WithArn(const Aws::String &value)
CreateCampaignResult & AddTags(const Aws::String &key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue