AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PardotConnectorProfileProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_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 Appflow
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetInstanceUrl() const{ return m_instanceUrl; }
46 inline bool InstanceUrlHasBeenSet() const { return m_instanceUrlHasBeenSet; }
47 inline void SetInstanceUrl(const Aws::String& value) { m_instanceUrlHasBeenSet = true; m_instanceUrl = value; }
48 inline void SetInstanceUrl(Aws::String&& value) { m_instanceUrlHasBeenSet = true; m_instanceUrl = std::move(value); }
49 inline void SetInstanceUrl(const char* value) { m_instanceUrlHasBeenSet = true; m_instanceUrl.assign(value); }
50 inline PardotConnectorProfileProperties& WithInstanceUrl(const Aws::String& value) { SetInstanceUrl(value); return *this;}
51 inline PardotConnectorProfileProperties& WithInstanceUrl(Aws::String&& value) { SetInstanceUrl(std::move(value)); return *this;}
52 inline PardotConnectorProfileProperties& WithInstanceUrl(const char* value) { SetInstanceUrl(value); return *this;}
54
56
60 inline bool GetIsSandboxEnvironment() const{ return m_isSandboxEnvironment; }
61 inline bool IsSandboxEnvironmentHasBeenSet() const { return m_isSandboxEnvironmentHasBeenSet; }
62 inline void SetIsSandboxEnvironment(bool value) { m_isSandboxEnvironmentHasBeenSet = true; m_isSandboxEnvironment = value; }
65
67
70 inline const Aws::String& GetBusinessUnitId() const{ return m_businessUnitId; }
71 inline bool BusinessUnitIdHasBeenSet() const { return m_businessUnitIdHasBeenSet; }
72 inline void SetBusinessUnitId(const Aws::String& value) { m_businessUnitIdHasBeenSet = true; m_businessUnitId = value; }
73 inline void SetBusinessUnitId(Aws::String&& value) { m_businessUnitIdHasBeenSet = true; m_businessUnitId = std::move(value); }
74 inline void SetBusinessUnitId(const char* value) { m_businessUnitIdHasBeenSet = true; m_businessUnitId.assign(value); }
76 inline PardotConnectorProfileProperties& WithBusinessUnitId(Aws::String&& value) { SetBusinessUnitId(std::move(value)); return *this;}
77 inline PardotConnectorProfileProperties& WithBusinessUnitId(const char* value) { SetBusinessUnitId(value); return *this;}
79 private:
80
81 Aws::String m_instanceUrl;
82 bool m_instanceUrlHasBeenSet = false;
83
84 bool m_isSandboxEnvironment;
85 bool m_isSandboxEnvironmentHasBeenSet = false;
86
87 Aws::String m_businessUnitId;
88 bool m_businessUnitIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Appflow
93} // namespace Aws
AWS_APPFLOW_API PardotConnectorProfileProperties(Aws::Utils::Json::JsonView jsonValue)
PardotConnectorProfileProperties & WithInstanceUrl(Aws::String &&value)
PardotConnectorProfileProperties & WithBusinessUnitId(const char *value)
PardotConnectorProfileProperties & WithBusinessUnitId(const Aws::String &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
PardotConnectorProfileProperties & WithBusinessUnitId(Aws::String &&value)
PardotConnectorProfileProperties & WithIsSandboxEnvironment(bool value)
PardotConnectorProfileProperties & WithInstanceUrl(const char *value)
PardotConnectorProfileProperties & WithInstanceUrl(const Aws::String &value)
AWS_APPFLOW_API PardotConnectorProfileProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue