/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
template
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ConnectCampaigns
{
namespace Model
{
/**
* The response for Create Campaign API
See Also:
AWS
* API Reference
*/
class CreateCampaignResult
{
public:
AWS_CONNECTCAMPAIGNS_API CreateCampaignResult();
AWS_CONNECTCAMPAIGNS_API CreateCampaignResult(const Aws::AmazonWebServiceResult& result);
AWS_CONNECTCAMPAIGNS_API CreateCampaignResult& operator=(const Aws::AmazonWebServiceResult& result);
inline const Aws::String& GetArn() const{ return m_arn; }
inline void SetArn(const Aws::String& value) { m_arn = value; }
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
inline void SetArn(const char* value) { m_arn.assign(value); }
inline CreateCampaignResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
inline CreateCampaignResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
inline CreateCampaignResult& WithArn(const char* value) { SetArn(value); return *this;}
inline const Aws::String& GetId() const{ return m_id; }
inline void SetId(const Aws::String& value) { m_id = value; }
inline void SetId(Aws::String&& value) { m_id = std::move(value); }
inline void SetId(const char* value) { m_id.assign(value); }
inline CreateCampaignResult& WithId(const Aws::String& value) { SetId(value); return *this;}
inline CreateCampaignResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
inline CreateCampaignResult& WithId(const char* value) { SetId(value); return *this;}
inline const Aws::Map& GetTags() const{ return m_tags; }
inline void SetTags(const Aws::Map& value) { m_tags = value; }
inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); }
inline CreateCampaignResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;}
inline CreateCampaignResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;}
inline CreateCampaignResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
inline CreateCampaignResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
inline CreateCampaignResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
inline CreateCampaignResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
inline CreateCampaignResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
inline CreateCampaignResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
inline CreateCampaignResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
inline const Aws::String& GetRequestId() const{ return m_requestId; }
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
inline CreateCampaignResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline CreateCampaignResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline CreateCampaignResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
private:
Aws::String m_arn;
Aws::String m_id;
Aws::Map m_tags;
Aws::String m_requestId;
};
} // namespace Model
} // namespace ConnectCampaigns
} // namespace Aws