AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SuccessfulRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectCampaignsV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECTCAMPAIGNSV2_API SuccessfulRequest() = default;
36 AWS_CONNECTCAMPAIGNSV2_API SuccessfulRequest(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCAMPAIGNSV2_API SuccessfulRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetClientToken() const { return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 template<typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<typename ClientTokenT = Aws::String>
48 SuccessfulRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
50
52
53 inline const Aws::String& GetId() const { return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 SuccessfulRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60 private:
61
62 Aws::String m_clientToken;
63 bool m_clientTokenHasBeenSet = false;
64
65 Aws::String m_id;
66 bool m_idHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace ConnectCampaignsV2
71} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API SuccessfulRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API SuccessfulRequest()=default
AWS_CONNECTCAMPAIGNSV2_API SuccessfulRequest(Aws::Utils::Json::JsonView jsonValue)
SuccessfulRequest & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue